Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
satyapriyanayak
Narayanan
JQuery Developer
Karthikeyan Anbarasan
Amit Mehra
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Post New Question
Subscribe to Interview Questions
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
.IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
Interview Questions And Answers
Difference between WindowsDefaultLocation vs WindowsDefaultBounds?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
.NET Framework
Points: 40
WindowsDefaultLocation makes the form to start up at a location selected by the operating system, but with internally specified size.
WindowsDefaultBounds delegates both size and starting position choices to the operating system.
Difference between Static vs Constant
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
Static Variable:
1.Variable set at run time
2.Can be assigned for reference types.
3.Initialized on constructors
Constant:
1.Variable set at compile time itself.
2.Assigned for value types only
3.must be initialized at declaration time
4.only primitive data types.
What is use of Virtual,sealed,override,abstract keyword?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
The use of virtual keyword is to enable or to allow a class to be overridden in the derived class.
The use of sealed keyword is to prevent the class from overridden i.e. you can't inherit sealed classes.
The use of override keyword is to override the virtual method in the derived class.
The use of abstract keyword is to modify the class, method, and property declaration. You cannot directly make calls to an abstract method and you cannot instantiate an abstract class.
where Shared Assemblies stored?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
.NET Framework
Points: 40
The shared assemblies are stored in Global assembly cache.
When Garbage Collector run?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
.NET Framework
Points: 40
Garbage Collector runs :
1. When the system has low physical memory
2. Acceptable memory heap is increased.
3. GC.Collect method is called.
Define Types of windows services
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
There are two types of windows services. Those are Win32OwnProcess , Win32ShareProcess .
a. Win32OwnProcess: It is a Win32 process that can be started by the Service Controller. This type of Win32 service runs in a process by itself.+
b. Win32ShareProcess: It is a Win32 service that allows sharing of processes with other Win32 services.
Define Generics
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
Generics means parametrized types. A class, structure, interface, delegates that operates on a parametrized type is called generics.
Difference between Ref vs Out Parameters?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
ref parameter:
Ref is keyword.
it must be used along with actual and formal arguments.
ref variables must be initialized before passing to a function
out parameter:
It is very similar to call by Reference.
Out is a Keyword.
Which must be used along with actual and formal arguments.
Out variables are not require to initialize, the initialized value will not be passed, only reference will be passed.
Define Virtual Method
Author:
Narayanan
Posted Date: January 16, 2013 Category:
.NET Framework
Points: 40
used to declare a method inside the base class that can be overridden.
1. Virtual method can not be declared as Private
2. Virtual method can not be declared as Static
3. Virtual method may or may not be overridden.
4. In order to override the virtual method of the base class, Override keyword is used provided the method signature of the derived class is same as base class, even the access modifier should be same.
5. A Virtual method must contain the method body otherwise compiler shall throw error.
6. Virtual keyword is only used in base and derived class scenario where you want your method over-ridable in the derived class.
How can we check a nullable variable is assigned?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
using hasvalue method.
« Previous
1
2
3
4
5
6
7
8
9
10
….
410
411
Next »
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend