using System;
using System.Linq;
public class Program
{
public class Vector3 {
public int X;
public int Y;
public Vector3(int[] vals){
X= vals[0];
Y= vals[1];
}
public static void Main()
int[][] test = {
new[] {0,1},
new[] {1,1},
new[] {0,0},
new[] {1,0}
};
Func<int[], Vector3> vertex = (int[] point) => new Vector3(point);
var q = test.Select( x => vertex(x)).ToList();
q.ForEach(i => Console.WriteLine( string.Join(" ", i.X, i.Y)));