0Pricing
C# Academy · Lesson

Static Members and Methods

Understand how to use static members and methods for shared functionality.

1

Static Members and Methods

Welcome to the next lesson! In this lesson, you’ll learn about static members and methods in C#, their purpose, and how to use them effectively in your programs. Let’s get started!

Static Members and Methods — illustration 1

2

What Are Static Members?

Static members belong to the class itself rather than any specific instance of the class. They are shared among all instances and can be accessed without creating an object of the class.

Key Point: Use static members for values or methods that are the same for all instances.

All lessons in this course

  1. Introduction to Interfaces
  2. Abstract Classes
  3. Static Members and Methods
  4. Exploring Enums and Structs
  5. Delegates and Events
  6. Working with Collections: Lists, Dictionaries, and Queues
← Back to C# Academy