/ Published in: C#
Generates array of characters from 'a' to 'z'
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// It does work even if the only overload of Enumerable.Range accepts int parameters char[] az = Enumerable.Range('a', 'z' - 'a' + 1).Select(i => (Char)i).ToArray();