示例#1
0
 public IEnumerator <StructIndexer> GetEnumerator()
 {
     return(Indexers.GetEnumerator());
 }
 static void Main(string[] args)
 {
     Indexers indexers = new Indexers();
     int      a1       = indexers.Ints[0];
     string   a2       = indexers.Strings[0];
 }
示例#3
0
 public IEnumerator <SealedClassIndexer> GetEnumerator()
 {
     return(Indexers.GetEnumerator());
 }
示例#4
0
 static void Main(string[] args)
 {
     InterfaceSnippets.TestInterfaces();
     Properties.Examples();
     Indexers.Examples();
 }