using System; using System.Runtime.CompilerServices; using System.Runtime.CompilerServices.DynamicAttribute; public class Test { public static void Main() { // your code goes here /*Save("hello", 4); Save("Hello", 6); Save("Good bye", 1);*/ SaveD("hello", 4); } public static void SaveD(dynamic a, dynamic b) { Console.WriteLine("T: " + a.ToString()); Console.WriteLine("U: " + b.ToString()); } public static void SaveD(dynamic a, int b) { Console.WriteLine("Special T: " + a.ToString()); Console.WriteLine("Specia U: " + b.ToString()); } public static void Save(T a, U b) { Console.WriteLine("T: " + a.ToString()); Console.WriteLine("U: " + b.ToString()); } public static void Save(T a, int b) { Console.WriteLine("Special T: " + a.ToString()); Console.WriteLine("Special U: " + b.ToString()); } }