Welcome, Guest Ohm namah shivoy
www.faqpanel.com
Home | ASP.Net | C-Sharp | Winforms | MS SQL | AJAX | XML | .Net Training*** | Search
Invite friends 
Extras 
VS Tips & Tricks
Top 10 .Net Tools
Special folders in ASP.Net
VS Find Combobox
 C-Sharp (C#) Interview Questions and Answers
What is the static class?
If a class contains nothing but static methods and properties, the class itself can become static. A static class is functionally the same as creating a class with a private static constructor. An instance of the class can never be created. By using the static keyword, the compiler can help by checking that instance member are never accidentally added to the class. If they are, a compiler error happens. This can help guarantee that an instance is never created. The syntax for static class looks like :

static class StaticUtilities {
public static void HelperMethod(){ }
}

An object of type StaticUtilities is not needed to call the HelperMethod(). The type name is used to make the call:

StaticUtilities.HelperMethod();
By default the member of the interface are public and abstract. true or false?
What is the difference between // comments, /* */ comments and /// comments?
What is the partial classes?
Can you allow class to be inherited, but prevent the method from being over-ridden?
How to concatenate two ArrayLists?
What are the characteristics of C#?
What are JIT compilers? How many are available in CLR?
Can you change the value of a variable while debugging a C# application?
What is Event (winforms) ?
What is C# (C-Sharp)?