예제 #1
0
 public static implicit operator SizeF((float width, float height) size) => new SizeF(size.width, size.height);
예제 #2
0
 public static implicit operator Size((int width, int height) size) => new Size(size.width, size.height);