Example #1
0
 private static Shape Add(Shape s1, Shape s2)
 {
     return new Shape { a = s1.a + s2.a };
 }
Example #2
0
 public static Shape AddShape(Shape s1, Shape s2)
 {
     return s1 + s2;
 }