摘要: 效果图: 代码如下: 阅读全文
posted @ 2017-12-13 20:22 Int64 阅读(2104) 评论(0) 推荐(1) 编辑
摘要: 结构体: 定义位置:定义在Main函数的外面,类的里面 定义格式: struct Student{ public string name; public bool sex; ...} 声明实例化:Student s=new Student(); 赋值:s.name="张三";s.sex=true; 阅读全文
posted @ 2017-12-13 13:28 Int64 阅读(162) 评论(0) 推荐(0) 编辑