public static void Main()
var v1 = new Vector(5, 3);
var v2 = new Vector(23, 5);
Console.WriteLine(result);
public Vector(int cX, int cY){
public static Vector operator +(Vector v1, Vector v2)
return new Vector(v1.ComponenteX + v2.ComponenteX, v1.ComponenteY + v2.ComponenteY);
public override string ToString()
return $"{ComponenteX}, {ComponenteY}";