using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Elektromagnes { class CRysunek { //punkt p1 private float x1; private float y1; //punkt p2 private float x2; private float y2; //punkt p3 private float x3; private float y3; //punkt p4 private float x4; private float y4; public float X1 { get { return x1; } set { x1 = value; } } public float Y1 { get { return y1; } set { y1 = value; } } public float X2 { get { return x2; } set { x2 = value; } } public float Y2 { get { return y2; } set { y2 = value; } } public float X3 { get { return x3; } set { x3 = value; } } public float Y3 { get { return y3; } set { y3 = value; } } public float X4 { get => x4; set => x4 = value; } public float Y4 { get => y4; set => y4 = value; } } }