2 回答我想問(wèn)問(wèn)哪里錯(cuò)了提示:1>c:\users\rjxy\documents\visual studio 2012\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs(22,12,22,16): error CS0051: 可訪(fǎng)問(wèn)性不一致: 參數(shù)類(lèi)型“Gender”比方法“student.Port.Port(string, int, int, Gender)”的可訪(fǎng)問(wèn)性低
2017-03-06
實(shí)際是10.0,但是在輸出時(shí)簡(jiǎn)化為10
2017-03-02
變量類(lèi)型是int應(yīng)該轉(zhuǎn)成double