Static members are the class members which does not operate on any instance of the type.
In other words, when a method or property declaration includes any static modifier (keyword), then it declares a static member.
Static members can be either data or function members.
Console.Write is an example of static member because it is a static class which contains all the static members.
Asked In: Spotted While Learning |