using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World2");
int[] nums = new int[] { 1,2,3,4,5,6,7 };
int[] nums2 = new int[] { -1,-100,3,99 };
public static void Rotate(int[] nums, int k) {
List<int> shiftedIndexes = new List<int>();
List<int> shiftedNums = new List<int>();
for (int i = 0; i < nums.Length; i++)
int shiftedIndex = )nums.Length - k + i) % num.Length;
shiftedIndexes.Add(shiftedIndex);
foreach (int num in shiftedIndexes)