singrdk/base/Windows/csic/test/using.cs

17 lines
380 B
C#
Raw Normal View History

2008-11-17 18:29:00 -05:00
using System;
using point = System.Drawing.Point;
public class test {
public static void Main() { (new test()).print(); }
test() {
for (int i = 0; i <= x.GetUpperBound(0); i++)
for (int j = 0; j < x.GetUpperBound(1); j++)
x[i,j] = new point(i, j);
}
void print() {
foreach (point p in x)
Console.WriteLine(p);
}
point[,] x = new point[4,4];
}