C# provides full support for object-oriented programming including encapsulation, inheritance, and polymorphism.
Encapsulation means that a group of related properties, methods, and other members are treated as a single unit or object.
Inheritance describes the ability to create new classes based on an existing class.
Polymorphism means that you can have multiple classes that can be used interchangeably, even though each class implements the same properties or methods in different ways.
This section describes the following concepts:
- Classes and Objects
- Class MembersProperties and FieldsMethodsConstructorsFinalizersEventsNested Classes
- Access Modifiers and Access Levels
- Instantiating Classes
- Static Classes and Members
- Anonymous Types
- Inheritance
- Overriding Members
- Interfaces
- Generics
- Delegates
0 comments:
Post a Comment