Good to know since the arduino has nothing to do with C#.
You'll need to check out this and expand on it depending on how many LEDs your trying to line up.
Then its a complex matter of integrating the code from example 5 in this arduino guide.
http://www.earthshinedesign.co.uk/ASKManual/Site/ASKManual.html