Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
In C#, constructors used in the class which has only static members?
on 9/27/2014 | Category:
C# Interview questions
| Views: 1981 |
Select from following answers:
private constructors are highly preferable and are used for the classes which comprises only static members.
By using 'private', we cannot call that from external methods or objects which means it doesn't allow any other class to create instance to this.
Show Correct Answer
Spotted While Learning |
< Previous :
In C#, the constructors used to initialize the sta ...
Next > :
In C#, a constructor without any parameters is cal ...
Comments or Responses
Login to post response
More Interview Questions by Goud.Kv
In C#, a constructor without any parameters is called as ?
What is used to create instances of class or struct in C#?
In C#, the LINQ operation which associates the non-related elements fr ...
In C#, keyword used to get the size of the value types in bytes is?
In C#, keyword used to get the type objects is?
In C#, keyword used to allocate the memory on the stack in unsafe cont ...
In C#, keyword used to specify the method parameters and enables metho ...
In C#, keyword used to restrict the code from being executed any other ...
Latest Interview Questions
How to insert an element before a specific element ?
How to insert an element after a specific element ?
How to get or set element width in the Jquery whta is the method used ...
How do we place content before a specific element ?
How to find the immediate next element from the element found by the s ...
How do we find last element in Jquery from the matched element ?
How do we find first element in Jquery from the matched element ?
Tell us about the differences between Webforms and Asp.Net MVC pattern ...