Example #1
0
        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);
            }
        }
Example #2
0
 public TokenEnumerator(Tokens2 t)
 {
     this.t = t;
 }