Tech Tutorials Database
GeekArticles Microsoft C#
 

C# - Static Members

 
Author: csharphelp.com
Category: C#
Comments (0)

By Rajesh A C# class can contain both static and non-static members. When we declare a member with the help of the keyword static, it becomes a static member. A static member belongs to the class rather than to the objects of the class. Hence static members are also known as class members and non-static members are known as instance members. In C#, data fields, member functions, properties and events can be declared either as static or non-static. Remember that indexers in C# can't...n

Read More...




Sponsored Links




Read Next: C# language's preprocessor directives



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�
 
 Subscribe