Get an array of all alpha characters
.net, c#, string
Solution
Maybe something like this:
string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
char [] alphas = (alphabet + alphabet.ToLower()).ToCharArray();
Problem
Possible Duplicate: A to Z list of char from Enumerable.Range Is there an easy way to get a `char[]` of all alpha characters? I know I could do something like this: ``` char[] alphas = new char[]{'a', 'b', 'c', 'd', ..............}; ``` For all upper and lower case chars, but I am wondering if there is an easier (and cleaner looking) way to do this.