What is a private constructor? where will you use it?
Answer Posted / nitesh
When we want to control the object instantiation
or trying to implement singleton pattern
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
What are the advantages of using partial classes?
Is var a data type?
Can a static class have a constructor c#?
What is the difference between static and constant variables?
What is variable in c#?
What is arraylist?
What is an array of arrays called?
What is difference between code access and role based security?
What is the difference between new and override in c#?
Is a structure a class?
What is icomparable in c#?
What are the properties of string?
What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to
Difference between StackPanel and RelativePanel ?