NET Framework 對 IComparable<T>界面加上了 in 修飾詞: public interface IComparable<in T> { int CompareTo(T other); }這表示你可以讓 CelestialBody 實作使用物件 ...
確定! 回上一頁