random from list c#

C#
list[Random.Range(0, list.Count)];
Source

Also in C#: