摘要:数据解析11-27 阅读全文
不用继承接口,一样可以把一个没有继承接口的类来实例化接口
2012-11-17 11:34 by hongjiumu, 346 阅读, 0 推荐, 收藏,
摘要:public interface IName { int Age { get; set; } string Name { get; set; } } public class Person { public int Age{get;set;} public string Name { get; set; } public Person() { } public Person(string name,int age) { Name = name; Age = age; } } public class EmptyEntity : IName { public string Name { get; 阅读全文
浙公网安备 33010602011771号