close
Tokens f = new Tokens("This is a sample sentence.", newchar[] {' ','-'}); // Display the tokens.
foreach (string item in f) { System.Console.WriteLine(item); }
https://docs.microsoft.com/zh-tw/dotnet/csharp/programming-guide/classes-and-structs/how-to-access-a-collection-class-with-foreach
全站熱搜
留言列表