using System;
public class Starter{
public static void Main(){
MethodA(5);
MethodA(5.0);
}
public static void MethodA<T>(T arg) {
Console.WriteLine("ZClass.MethodA(T arg)");
}
public static void MethodA(int arg) {
Console.WriteLine("ZClass.MethodA(int arg)");
}
public static void MethodA() {
Console.WriteLine("ZClass.MethodA()");
}
}
|