string temp = string.Empty; temp = arr[0]; arr[0] = arr[1]; arr[3] = temp; temp = arr[1]; arr[1] = arr[2]; ....
Regards, Sheo Narayan http://www.dotnetfunda.com
string[] arr = new string[] { "d", "sa", "c", "bs" }; arr = arr.ToList().Skip(1).Union(arr).ToArray();
Best Regards, Niladri Biswas
Login to post response