سلام بر تمامی برنامه نویسان #C 😉 در این پست کد تفریق کردن Size از Point در c#.net را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد تفریق کردن Size از Point در c#.net :
using System;
using System.Drawing;
using System.Windows.Forms;
class PaintHello
{
public static void Main()
{
Size sz = new Size(12, 12);
Point pt = new Point(20, 20);
pt = pt+sz;
MessageBox.Show("Addition :"+ pt.ToString());
pt = pt-sz;
using System.Drawing;
using System.Windows.Forms;
class PaintHello
{
public static void Main()
{
Size sz = new Size(12, 12);
Point pt = new Point(20, 20);
pt = pt+sz;
MessageBox.Show("Addition :"+ pt.ToString());
pt = pt-sz;