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 standard types does c# use?

889


If dll and exe files are same it means you can deploy both the files in gac?

887


What is the use of xmlserializer?

825


Why is static constructor called first?

858


What is the difference between string and string in c#?

931


What does dbml stand for?

964


What is the base class from which all value types are derived?

894


How do I do implement a trace and assert?

945


Does c# support a variable number of arguments?

954


Describe the process of “exception handling implementation” in c#?

926


What is a static class in c#?

944


What is yield break in c#?

869


Which technology is best for desktop application?

820


What are the types of delegates in c#?

846


Explain about Error handling and how this is done

910