Skip to content

Static classes and members

Context: Static members belong to the type itself, not to instances. Static classes cannot be instantiated and can only contain static members.

  • 4.6.1 Static fields methods properties
  • 4.6.2 Static constructor
  • 4.6.3 Static class cannot be instantiated