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 is string concatenation?

990


Can fields inside a class be virtual?

973


What is the major difference between a custom control and user control?

1052


Why do we use hashtable in c#?

962


List some of the common data providers for ado.net framework?

855


what is IComparable

994


Is string nullable in c#?

966


What is nullable types in c#?

976


What is a delegate how is it type safe?

866


What are the differences between events and delegates in c#?

976


What is dll in vb.net?

942


What is strongly typed view?

883


Why do we use methods in c#?

895


What is function c#?

916


What is Asynchronous call and how it can be implemented using delegates?

1029