using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1
{
//P126 5-8publicclassStudent{
publicstring Name {
get;set;}//自动属性publicstring Institute
C# 设计一个学生类,该类能够记录学生的姓名、院系、班级和专业,并能够输出和修改专业代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{//P126 5-8 public class Student { public st