How to define an instance?
I was asked a question in an interview and i wasn't able to answer it... Here is the question How will you define an instance[c#]? My answer was it is an other name of an object ... what is the right answer for this question... Instance is to class as cake is to recipe. Any time you use a constructor to create an object, you are creating an instance. MyObject obj = new MyObject( ); I would describe instance as a single copy of an object. There might be one, there might be thousands, but an instance is a specific copy, to which you can have a reference. Class is the blueprint, instance is the