摘要: 先看一段代码: ClassA {public string name;} Class B : ClassA {} public static void Main() {ClassB b = new ClassB(); b.name = "I'm class b"; //如果用Test(ref b)的话,编译会提示无法转换ClassB到ClassA Console.WriteLine(Test(re... 阅读全文
posted @ 2004-04-28 18:24 xlzhu 阅读(2838) 评论(11) 推荐(0) 编辑