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 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 members are never accedentally added to the class. If they are added, the compiler error will happens. This can help guarantee that an instance is never created.

The syntax for static class looks like this

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

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

StaticUtilities.HelperMethod();

How do you convert a value-type to a reference-type?
What are JIT compilers? How many are available in CLR?
What is the difference between string and String?
Is it possible to use multiple inheritance in .Net?
What is metadata?
Can you write a class without specifying namespace? Which namespace does it belong to by default?
How many .Net languages can a single .Net DLL contain?
What are the advantages of properties in C# (c-sharp)?
How call a virtual method from a constructor or destructor?
How can you sort the element of an aaray in descending order?