Пример #1
0
 public static implicit operator Shape((int, int) s) => new Shape(s.Item1, s.Item2);
Пример #2
0
 private void DrawLine((int, int) s, (int, int) e, Canvas c) => DrawLine(s.Item1, s.Item2, e.Item1, e.Item2, c);
Пример #3
0
 public static implicit operator LongTuple((long, long) s) => new LongTuple(s.Item1, s.Item2);
Пример #4
0
 public static implicit operator Shape((long, long) s) => new Shape(s.Item1, s.Item2);