static void Main(string[] args) { Console.WriteLine("Testing Tokens by breaking the string into tokens:"); Tokens token = new Tokens("This is a well-done program.", new char[] { ' ', '-' }); foreach (string item in token) { Console.WriteLine(item); } Console.Read(); }
public TokenEnumerator(Tokens token) { this.token = token; }