// Summary: // Get punctuation and separators from ASCII character table. // // Returns: // Array of punctuation and separator characters. public static Char[] getPunctuation() { Char[] P = new Char[] { }; for (int i = 0; i < 256; i++) { Char c = (char)i; if (Char.IsPunctuation(c) || Char.IsSeparator(c)) { P.Append(c); } } return(P); }