class Myclass { public void fun(){ Console.WriteLine(“无参数”); } public void fun(int a){ Console.WriteLine(“有一个整型的参数”); } }
B.
class Myclass { public int a; public void fun(){ Console.WriteLine(“无参数”); } } class Myclass1{ public void fun(int a){ Console.WriteLine(“有一个整型的参数”); } }
C.
class Myclass { public int a; public void fun(){ Console.WriteLine(“无参数”); } public void Fun(int a){ Console.WriteLine(“有一个整型的参数”); } }