var lottery = new Lottery<string>(); lottery.Add("Mr. A", 1); lottery.Add("Ms. B", 2); lottery.Add("Ms. C", 3); var winner = lottery.Draw(true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)