/// <summary> /// Get Random number /// </summary> /// <param name="minValue"></param> /// <param name="maxValue"></param> /// <returns></returns> private static int GetRandom(int minValue, int maxValue) { Random rand = new Random(); return rand.Next(minValue, maxValue); }