Utilities

Table of Content

Table of Content

Table of Content

GetRandom

Return a random element in IEnumerable variable

T t = T[].GetRandom();

public string[] names;

public string GetName()
{
  return names.GetRandom();
}

Require the using MVsToolkit.Utils namespace

Create a free website with Framer, the website builder loved by startups, designers and agencies.