using System; public class Test { public static void Main() { object value = "this is a string!"; print(value); // prints: "Got object!"" instead of "Got string!"" } static void print(string value) { Console.WriteLine("Got string!"); } static void print(object value) { Console.WriteLine("Got object!"); } }