Inheritance: Foo
 public static string GetName(Bar bar) {
     return bar.Name;
 }
Exemple #2
0
 public static string GetName(Bar bar)
 {
     return(bar.Name);
 }