LaunchCode logo
  1. Contents
  2. 18. Classes in C#, Part 1

18. Classes in C#, Part 1¶

  • 18.1. Classes for C#
    • 18.1.1. Creating A New Class In An Exisiting C# Project
    • 18.1.2. A Minimal Class and Object
    • 18.1.3. The this Keyword
    • 18.1.4. Check Your Understanding
  • 18.2. Modifiers in C#
    • 18.2.1. Access Modifiers
    • 18.2.2. Check Your Understanding
  • 18.3. Encapsulation
    • 18.3.1. Encapsulation
    • 18.3.2. Student Class
      • 18.3.2.1. Fields
      • 18.3.2.2. Getters and Setters
      • 18.3.2.3. Properties
        • 18.3.2.3.1. Auto-Implemented Properties
    • 18.3.3. Check Your Understanding
  • 18.4. Constructors
    • 18.4.1. Overloading Constructors
    • 18.4.2. Check Your Understanding
  • 18.5. Methods
    • 18.5.1. Calling Methods on Objects
    • 18.5.2. Instance Methods
    • 18.5.3. Check Your Understanding
  • 18.6. Single Responsibility Principle
  • 18.7. Exercises: Classes and Objects
  • 18.8. Studio: Restaurant Menu
    • 18.8.1. Design
    • 18.8.2. Presenting Your Design
    • 18.8.3. Implementation
    • 18.8.4. Commit Your Work
  • ← 17.3. Studio: If It Ain’t Broke, Add a Breakpoint!
  • 18.1. Classes for C# →

Back to top