Check out example codes for "randomize through array in C#". It will help you in understanding the concepts better.

Code Example 1

using System;
using System.Collections.Generic;

namespace whatever_you_want
{
	public class Randomizer
    {
    	public static T Randomize<T>(List<T> array)
        {
        	Random rnd = new Random();
          	return array[rnd.Next(0, array.Count)];
        }
    }
}

Code Example 2

// answer coded by 'mdb' and edited later on by 'Caius Jard'

Random rnd = new Random();
string[] MyRandomArray = MyArray.OrderBy(x => rnd.Next()).ToArray();

Learn ReactJs, React Native from akashmittal.com