// Test Tokens, TokenEnumerator static void Main() { // Testing Tokens by breaking the string into tokens: Tokens3 f = new Tokens3("This is a well-done program. Yes. Yes. Yes.", new char[] { ' ', '-' }); foreach (string item in f) { Console.WriteLine(item); } }
public Tokens3Enumerator(Tokens3 t3) { this.t3 = t3; pos = -1; }