vector declaration c# code example Example: define a vector c# Vector vector1 = new Vector(20, 30, 40);