C# Static
The static keyword is used to make a data item non-instantiable. It can be used with classes, methods, variables, constructors, operators etc.
In C#, static is a keyword or modifier that belongs to the type not instance. So, instance is not required to access the static members. In C#, static can be field, method, constructor, class, properties, operator and event.
Comments
Post a Comment