Java to C#

can any one transfer this java code in to c#

 var m : Mesh = new Mesh();
     m.name = "Scripted_Plane_New_Mesh";
     m.vertices = [Vector3(-size, -size, 0.01), Vector3(size, -size, 0.01), Vector3(size, size, 0.01), Vector3(-size, size, 0.01) ];
     m.uv = [Vector2 (0, 0), Vector2 (0, 1), Vector2(1, 1), Vector2 (1, 0)];
     m.triangles = [0, 1, 2, 0, 2, 3];
     m.RecalculateNormals();
     var obj : GameObject = new GameObject("New_Plane_Fom_Script", MeshRenderer, MeshFilter, MeshCollider);
     obj.GetComponent(MeshFilter).mesh = m;

Yes, you can. Just take a look at the examples here. You can switch the language with the dropdown at the top right of the code samples. The sample is actually almost the same, but it just creates one triangle.