shuffle array unity

C#
 public void Shuffle()  {          for (int i = 0; i < decklist.Length - 1; i++)           {              int rnd = Random.Range(i, decklist.Length);              tempGO = decklist[rnd];              decklist[rnd] = decklist[i];              decklist[i] = tempGO;          } }
Source

Also in C#: