Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we have private constructor in our class file. When we
are trying to create instance for the class will it create
or throw error regarding that?

Answer Posted / vijay rana

we can declare objects in csharp,
but we can not create any instance of this class ,
if we do so it will throw an exception;

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the difference between a static method and a non static method c#?

996


What do you mean by delegates and explain different types of delegates?

953


Explain the features of an abstract class in net.

956


What is difference between continue and break in c#?

958


Can var be null c#?

860


What is escape character in c#?

910


What is the output of TextWriterTraceListener redirected?

1046


What are strings in c#?

931


Is dll a library?

920


Why References are stored on heap and variables on stack?

931


What is meant by console programming?

914


What is multiple interface in c#?

970


What are the concepts of dispose method?

934


What do you mean by hashtable c#?

1009


What is ienumerator c#?

864