public static string GetString2ToUpper(this Class1.Class2 obj) { return(obj.GetString2().ToUpper()); }
public static string GetString2Upper(this Class1.Class2 obj)//can access internal Class2 through internal Class1 { return(obj.GetString2().ToUpper()); }