클래스, 속성, 상속, 인터페이스, 레코드, 제네릭으로 프로그램을 만듭니다.
Model state and behavior together in a C# class.
Protect object invariants with validated properties.
Reuse and specialize behavior through a base class.
Call different implementations through one shared contract.
Define capabilities that unrelated types can implement.
Represent immutable data with concise record types.
Write reusable, type-safe classes and methods.
Assemble behavior from collaborating objects.