public static string?GetOtherStr(this SampleClass sc, int idx) { return(sc.GetOther(idx).OtherStrProp); }