reverse a set of numbers in c#