
using System;
namespace sample{
class Student {
public string studentid;//学号
public string studentname;//姓名
private string birthplace;//籍贯
private DateTime birthdate;//出生日期
/////////////////////////////////////////////////////////////////
//请填写代码,实现类的无参和有参构造函数、
//属性StudentId、StudentName、BirthPlace、BirthDate、Age
/////////////////////////////////////////////////////////////////
}
class Program
{
static void Main(string[] args)
{
Student zs = new Student("201753501234", "zs");
zs.BirthDate = DateTime.Parse("1988-12-10");
zs.BirthPlace = "jinan";
string s = "name:{0},no:{1},native:{2},age:{3}";
Console.WriteLine(s,zs.StudentName,zs.StudentId,zs.BirthPlace,zs.Age);
}
}
}