摘要:
1 class Program 2 { 3 public static void Main () 4 { 5 Ticket a = new Ticket(200); 6 a.FangFa(); 7 8 Console.ReadLine(); 9 } 10 } 1 class Ticket 2 { 3 阅读全文
posted @ 2020-09-20 15:45
技术不够脸来凑
阅读(231)
评论(1)
推荐(0)
摘要:
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 Student s = new Student("张三", 100, 100, 100); 6 s.SayHello(); 7 s.ShowScore(); 8 Console.R 阅读全文
posted @ 2020-09-20 13:51
技术不够脸来凑
阅读(158)
评论(0)
推荐(0)
摘要:
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 //调用实例成员 6 Person p = new Person(); 7 p.M1();//实例方法 8 p.Gender = 'z';//示例成员 9 Person.M2(); 阅读全文
posted @ 2020-09-20 13:37
技术不够脸来凑
阅读(100)
评论(0)
推荐(0)
摘要:
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 // string s; 6 // Person sunQuan;//自定义类 7 // 创建Person类的对象 8 Person suQuan = new Person(); 阅读全文
posted @ 2020-09-20 10:24
技术不够脸来凑
阅读(1183)
评论(1)
推荐(0)

浙公网安备 33010602011771号