一个不错的C#自学PPT教程,比如,类 using System; class ClassA { public string c="This is ClassA."; } class ClassB { static void Fun() { ClassA a; a=new ClassA(); Console.WriteLine(a.c); } static void Main() { Fun(); } }