Just learning the ropes of custom class vars(C#) and need a constructor... for my "Vector5".

I’m creating a Vector5 class variable(mostly to learn how), anyway when I try to set my Vector5 to a new vector5(2,5,8,5,6) for example it says that It doesn’t have a constructor that contains 5 arguments. here’s what I’ve got.

 [System.Serializable]
    public class Vector5{
        public float x;
        public float y; 
       public float z;
        public float w;
        public float a;
    }

This isn’t a Unity question; you can just type “c# class constructor” in Google and get a million results, such as this: Using Constructors - C# | Microsoft Learn

–Eric

[System.Serializable]
    public class Vector5{
        public float x;
        public float y;
        public float z;
        public float w;
        public float a;

        public Vector5 (float x, float y, float z, float w, float a){
            this.x = x;
            this.y = y;
            this.z = z;
            this.w = w;
            this.a = a;
        }
    }

Nice thank you!