using System;
public class Program
{
public static void Main()
Vector2 myVec = new(5, 6);
myVec = myVec with { X = 7 };
Console.WriteLine(myVec.X);
}
public struct Vector2
public Vector2(float x, float y)
X = x;
Y = y;
public float X;
public float Y;