C#定义类(构造函数)

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /*  * C#定义类  * 类是抽象的概念,好比猫、狗能够归为动物一类  * 类和对象的区别:  * 对象是具体的物体,好比猫和狗属于动物类,但他们自己属于一个独立的
相关文章
相关标签/搜索