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

how to find no of instances of an object in .NET?

Answer Posted / gouri patil

When u create object of class it invoke Constructor. So
declare variable and increase in Constructor and
parametrised Constructor you will get number.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different oops concepts?

1113


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1695


What is class and example?

1266


What is encapsulation in oops?

1072


What is the point of polymorphism?

1097


What is debug class?what is trace class? What differences are between them? With examples.

2265


What are the benefits of oop?

1348


What is an advantage of polymorphism?

1137


Which language is not a true object oriented programming language?

1185


What is polymorphism oop?

1114


What are the data types in oop?

1166


Write a program to reverse a string using recursive function?

2415


What is the full form of oops?

1247


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4806


Why is polymorphism used?

1090