using System; using System.Collections.Generic; interface I { object f(); } class A : I { public string f() { return "abc"; } } public class vartest { public static void Main() { object x = "abc"; // ok I n = new A(); Console.WriteLine(n.f()); List L = new List(); //ok // List M = new List(); //? } }