Random choice generator (C#)

GenerateRandomChoice

Random choice generator for the OnlineGenerators.Utilities.CSharp NuGet package

Syntax example

randomChoiceGeneratorService.GenerateRandomChoice(randomChoices);

Parameters

randomChoices

IEnumerable<string>

A collection that accepts a list of strings. Each string represents an option.