void Example12() { MyIndexerClass mic = new MyIndexerClass(); mic[0] = "Seoul"; mic[1] = "Nowon"; mic[2] = "Kwangwoon"; mic[3] = "-ro 20"; mic[4] = "Kwangwoon University"; for (int i = 0; i < mic.Length; i++) { Console.Write("{0} ", mic[i]); } Console.WriteLine(); }
public MyClass(byte[] data) { this.Sites = new MyIndexerClass(data); }
public MyClass() { this.Sites = new MyIndexerClass(); }