我有一堂课叫Assign
和
private int SeatNumber;
public Assign(int SeatNum)
{
SeatNumber = SeatNum;
}
public int SeatNumber
{
get { return SeatNumber; }
set { SeatNumber = value; }
}
我不知道为什么会出现以下错误
E“WindowsFormsApplication1.Assign”类型已经包含“SeatNumber”的定义
怎么了?