Difference between Instance and Object in C#

preview_player
Показать описание
--------------
May be you like this
--------------
Our channel:
Complete Playlist:
Angular 2 playlist here
KnockoutJs Playlist:
Wcf playlist :

Wcf restful playlist :

c# playlist:

google maps playlist:

Рекомендации по теме
Комментарии
Автор

Well.. sorry to say that you're confused about the concept.
When you instantiate an instance of a class, you create an object from that class. The class provides a typical definition. The instances of the class materialize the fields and properties with their specifications. The behavior of instances (methods) are taken from the class that they instantiated from.
Say, Alex and Alice are two human objects that instantiated from Human class. Human class can have some properties like Height, Eye color, ..
and some methods like Walk, Sleep, See, ..
Each Human instance can have specific value for these properties.
Let's say, height for Alex is 180, and for Alice 170cm. Yet, we can't say a Human is 190. Human is a class and generic. Alex and Alice can sleep, but Human as a class provides this ability for it's instances to sleep.

bbabak
Автор

despite everyone comment not clear, it helps me because i only read the subtitle. i can understand and teach my friend what instance thanks

miki-hxbr
Автор

I am very sorry to say you sir that this is very perplexing video whatever you have made. It is not understandable along with your voice is stumbling as well.

biswarupbhattacharjee
Автор

Though stammered...yet understood.
Thanks for efforts boss.

catherineshiromani
Автор

oh thank u very much, finally i understood what was the problem in mine script :D

michalstanislawbun
Автор

ShiShap )))
New language
Thx, man!

pavellobarev