コード例 #1
0
ファイル: tokens2.cs プロジェクト: dpgit/TutorialIntermediate
 // Test Tokens, TokenEnumerator
 static void Main()
 {
     Tokens2 f = new Tokens2("This is a well-done program.",
        new char[] { ' ', '-' });
     foreach (string item in f) // try changing string to int
     {
         Console.WriteLine(item);
     }
 }
コード例 #2
0
ファイル: tokens2.cs プロジェクト: dpgit/TutorialIntermediate
 public TokenEnumerator(Tokens2 t)
 {
     this.t = t;
 }