Beispiel #1
0
 public static explicit operator SizeF((float Width, float Height) tuple) => new SizeF(tuple.Width, tuple.Height);
Beispiel #2
0
 public static implicit operator Size((int Width, int Height) tuple) => new Size(tuple.Width, tuple.Height);