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

Does c# support templates?

1039


What is a verbatim string literal and why do we use it?

1004


What is datagrid c#?

999


What is difference between throw and throws in c#?

925


What are the different types of classes in c#?

994


What is use of a HashTable in .NET?

1200


Can c# inherit multiple classes?

993


What is visual c# net?

1074


How do I trim a space in c#?

942


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

997


What the different phase/steps of acquiring a proxy object in webservice?

1077


Is string passed by reference in c#?

978


What standard types does c# use?

975


What are methods in C#?

999


Why delegates are type safe?

966