摘要:
C#中是没有类的多重继承这个概念.要使用多重继承必须要通过接口Interface来完成, 一。接口类 interface getTable{ DataTable Getdatatable(string str); } 二。业务类 class getTableA:getTable{ public vi 阅读全文
摘要:
var attributes = typeof(MyClass).GetCustomAttributes(typeof(TestAttribute), true); //MyClass 表示引用特性的类 TestAttribute特性定义的类 foreach (var attribute in at 阅读全文
摘要:
public class INI { public static string IniFileName = "";//路径 [DllImport("kernel32")] private static extern int GetPrivateProfileInt(string lpApplicat 阅读全文