例如,您可以宣告泛型類別 AGenericClass ,讓型別參數 T 實作IComparable<T> 介面:. C# 複製. public class AGenericClass<T> where T ...
確定! 回上一頁