using System;
using System.Collections.Generic;
namespace TradeHelp.Utilities
{
///
///
///
public static class RandomHelper
{
private static readonly Random _random = new Random(DateTime.Now.Millisecond);
///
///
///
///
///
///
public static T GetRandom(this IList list)
{
return list[_random.Next(0, list.Count)];
}
}
}