2009-11-25 117 views

回答

12

布爾B = t.IsSubclassOf(typeof運算(鹼基類型))

並檢查類型實現接口使用:

布爾B = t.GetInterface(typeof運算(IMyInterface的).FullName) != null