Exemplo n.º 1
0
 /// <summary>
 /// Gets the bot with the specified number.
 /// </summary>
 /// <param name="number">The number of the bot to return.</param>
 /// <returns>
 /// The <see cref="Bot"/> with the specified number.
 /// </returns>
 private Bot GetBot(int number)
 => Bots.GetOrAdd(number, () => new(number, OnCompare !));