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...

What is a private constructor? where will you use it?

Answer Posted / sri

we can declare the constructor private ,it is called
private constructor.

Is This Answer Correct ?    3 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

2258


What is poco c#?

909


Why do we use threads in c#?

992


How does c# generics and c++ templates compare?

922


What is the implicit name of the parameter that gets passed into the class set method?

979


Why hashtable is thread safe in c#?

1008


What is COM Interoperability?

959


What is 8 bit signed integer?

910


What is console based application?

957


Where value types are stored in c#?

936


What does protected internal access modifier mean?

1127


What are the types of attributes in c#?

947


Is vs as c#?

901


What is difference between method overriding and method overloading?

1053


What is new method in c#?

932