title: How can I swap two values of an array in C#?
body: <p>I have an array of int containing some values starting from index 0. I want to swap two values, for example, the value of index 0 should be swapped with the value of index 1. How can I do this in the C# array?</p>