1 using System; 2 3 struct Point 4 { 5 public double x, y; 6 7 public Point(int x, int y) { 8 this.x = x; 9 this.y = y; 10 } 11 12 public double R(){ 13 return Math.Sqrt(x*x+y*y); 14 } 15 } 16 17 class Tes 18 { 19 static void Main() { 20 Point[] points = new Point[100]; 21 22 for (int i = 0; i < 100; i++) 23 points[i] = new Point(i, i*i); 24 } 25 }