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?



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

Answer / 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

More OOPS Interview Questions

What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass

6 Answers   Wipro,


Please tell me the oops concept with detailed answer

9 Answers   EEE,


write a program that takes input in digits and display the result in words from 1 to 1000

0 Answers   Wipro,


Get me an image implementation program.

0 Answers  


which is best institute to learn c,c++ in ameerpet hyderabad

1 Answers  


why freind function takes more parameter than normal member function in c++?

1 Answers   IBM,


When will a constructor executed?

5 Answers   TCS,


officer say me - i am offered to a smoking , then what can you say

0 Answers  


Why do we use virtual functions?

4 Answers  


why the memory allocated with new cant be freed using free()

2 Answers  


How do you use inheritance in unity?

0 Answers  


Can we have a private constructor ?

12 Answers   HSBC, Ness Technologies, TCS, Wipro,


Categories