结构和枚举 class TestClass static void Main() { Student s1 new Student("200910101","zhangsan"); s1.grades=new Student Grade[1{new Student.Grader("语文",80),new Student.Grade("数学",g0),new Student.Grade("英语",100): Console.WriteLine("Student ID ={0},Student Name ={1}",s1.studentID, s1.studentName); foreach (Student.Grade g in s1.grades) Console.WriteLine("Course =10},Grade {1}",g.courseName,g. courseGrade); Console.ReadLine(); wy 15结构和枚举 15