public static void Main()
int[] arr = {1,2,3,4,5,6,7};
Console.WriteLine("Hello World");
Solution s = new Solution();
public void rotate(int[] nums, int k) {
int step = k % nums.Length;
int[] tmp = new int[step];
for(int i = 0; i < step; i++){
tmp[i] = nums[nums.Length - step + i];
Console.WriteLine(nums[nums.Length - step + i]);
Console.WriteLine("**************");
Console.WriteLine(nums.Length - step - 1);
for(int i = nums.Length - step - 1; i >= 0; i--){
nums[i + step] = nums[i];
Console.WriteLine("I + Step values is {0} ",i+step);
Console.WriteLine(nums[i]);
for(int i = 0; i < step; i++){