Intro to Prog in C#
13 May 2025
  • 1. Introduction
  • 2. Data and Variables
  • 3. Methods/Functions
  • 4. Selection/Conditional
  • 5. Iteration: for Loops
  • 6. Iteration: While Loops
  • 7. Files & Paths
  • 8. Arrays
  • 9. Collections
  • 10. Classes
    • 10.1. Introduction to Class
    • 10.2. Class Instance Examples
    • 10.3. The Rational Class
    • 10.4. Structs (Optional)
    • 10.5. Lab: Classes
    • 10.6. Chapter Review
  • 11. Object-Oriented Programming
  • 12. Data Structure
  • 13. Selected Topics
  • 14. Appendix
Intro to Prog in C#
  • 10. Classes
  • View page source

10. Classes

  • 10.1. Introduction to Class
    • 10.1.1. Overview
    • 10.1.2. Declaring Classes
    • 10.1.3. Using a Class
    • 10.1.4. Constructors
    • 10.1.5. Static Classes & Methods
    • 10.1.6. Properties
    • 10.1.7. ToString Override
  • 10.2. Class Instance Examples
    • 10.2.1. More Getters and Setters
    • 10.2.2. Statistics Exercise
    • 10.2.3. Unneeded Constructor Code Exercise
    • 10.2.4. Alternate Internal State Exercise
  • 10.3. The Rational Class
    • 10.3.1. Method Parameters of the Same Type
    • 10.3.2. Pictorial Playing Computer
  • 10.4. Structs (Optional)
  • 10.5. Lab: Classes
    • 10.5.1. Converting A Static Game To A Game Instance
    • 10.5.2. Animal Class Lab
  • 10.6. Chapter Review
Previous Next

© Copyright . Last updated on 13-May-2025 04:11:01.

Built with Sphinx using a theme provided by Read the Docs.