2014-09-04 101 views

回答

7

你錯過了泛型類型參數在方法聲明:

public static string[] ToTextArray<T>(this Dictionary<string, T> dictionary) 
    where T: struct, IConvertible 
+0

哦,我的!我只需要另一雙眼睛來看看我的代碼。謝謝。 – Blaise 2014-09-04 13:26:19

相關問題