Code Wars C# 7 kyu: 254 Shades of Grey

Beginner level C# object oriented programming series. Viewers are provided an integer representing how many gray hex color values should be returned. These should be loaded into a string array in ascending order. I’ll explain one solution with LINQ, one without.

The best way to learn computer programming is by actually writing code. Create a Code Wars account at to follow along. No downloads required- you can start coding right away from your favorite browser. Coding challenges can be quite fun too, like puzzles and brain teasers. This challenge may be found at: