Classes are at the core of object-oriented programming, and they represent a set of discrete behavior and data. They provide isolation and protection for individual parts of a program, called encapsulation. Classes make modifications and improvements of large and complex programs possible, by allowing programmers to focus on smaller parts.
Base Constructor
Class Program
Constructor Comparison
Constructor Overload (This)
Default Constructor
GetType Method
Global Variable Use
Indexer Example
Indexer Interface Use
Interface Program 1
Interface Property
New Class Instance
Private Constructor
Property Test
Protection Proxy Design Pattern
Public Static Readonly Fields
Readonly Field Usage
Sealed Class Test 1
Static Constructor
Static Field Use
This Instance
Unboxing Test
Variable Initializer for Class Field