Pages

Men

rh

6/23/2012

Difference between Static Members and Non Static Members in Asp.net

Static Members:-
  • The members are binded to the class definition it self.
  • These members are will be loaded  into memory when ever the class is been loaded .
  • These members are referenced with the class name only.

Non Static Members:-
  • These members are binded to the object defined for the class.
  • These members will be loaded into memory every time a new object is defined for the class.
  • These members are referenced with  object definition only.

No comments :

Post a Comment