C # foundation - about class

xiaoxiao2021-03-17  203

Class is actually a template for creating an object, each object contains data, and provides a method of processing and accessing data. Category defines what data and features can be included in each object, but the class does not contain data. For example, a class represents a person, it can define the information (height, age, weight, etc.). When using, the transient object represents a person.

Member of the class

It can be divided into two major category itself and inherited from the base class.

The members of the class have the following types

转载请注明原文地址:https://www.9cbs.com/read-129608.html

New Post(0)