public struct TestSource
{
private int val;
private string display;
public TestSource(int val, string display)
{
this.val = val;
this.display = display;
}
public int Val
{
get{return this.val;}
}
public string Display
{
get{return this.display;}
}
}
public class MyTest
{
new TestSource[] testSource = new TestSource[]{ new TestSource(0, "AAA"), new TestSource(1, "BBB"), new TestSource(2, "CCC"),
new TestSource(3, "DDD"),
new TestSource(4, "EEE"),
new TestSource(5, "FFF"),
new TestSource(6, "GGG"),
new TestSource(7, "HHH"),
new TestSource(8, "III"),
new TestSource(9, "JJJ")
};