Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the difference between Object and Instance?
pls tell me with examples
Posted

lets say you have a class
C#
Class Student{...}

This refers to an object

and when you write this statement
C#
Student myStudent = new Student();

here myStudent refers to an instance of Object Student
 
Share this answer
 
No such difference between object and instance
Object[^] and Instance[^]

for more info :MSDN[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900