C#.Net Interview Question and Answers
111. |
Which namespace enables multithreaded programming in XML? |
|
System.Threading |
|
|
112. |
Can we declare a block as static in c#? |
|
No, because c# doesnot support static block, but it supports static method. |
|
|
113. |
Can we declare a method as sealed? |
|
In C# a method can't be declared as sealed. However when we override a method in a derived class, we can declare the overridden method as sealed. By declaring it as sealed, we can avoid further overriding of this method.
|
|
|
114. |
What Command is used to implement properties in C#? |
|
get & set access modifiers are used to implement properties in c#. |
|
|
115. |
What is static member? |
|
The member defined as static which can be invoked directly from the class level, rather than from its instance.
|
|
|