public static string SayHello(this SubTestData data, string suffix) { return("Hello as well, " + data.Id + suffix); }
public static string SayHello(this SubTestData data, bool friendly) { return("Hello as well, " + (friendly ? "dear " : string.Empty) + data.Id); }
public static string SayHello(this SubTestData data) { return("Hello as well, " + data.Id); }