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 a multicast c# delegate?

1000


What are c# collections?

841


What are the steps for creating clr trigger

982


What is array class in c#?

797


Which .gang of four. Design pattern is shown below?

862


What is string class in c#?

845


What is verbatim literal in c#?

836


What are immutable types in c#?

847


what is the difference between a struct and a class in c#?

1080


Can a class be protected in c#?

851


Why do we use Design Pattern in C#?

974


What is master page in asp net c#?

834


What are winforms in c#?

859


What is the property of class?

992


Where’s global assembly cache located on the system?

952