using System.Collections.Generic;
public static void Main()
var deck = new List<string>();
deck.AddCards("Kudoltha", 4);
deck.AddCards("Artifact", 8);
deck.AddCards("Land", 20);
deck.AddCards("Other", 28);
while (iteration <= iterations)
var sampleHand = deck.OrderBy(x => Guid.NewGuid()).Take(7).ToArray();
if (sampleHand.Contains("Kudoltha") && sampleHand.Contains("Artifact") && sampleHand.Contains("Land"))
Console.WriteLine($"Hits: {hitAll/iterations}");
public static void AddCards(this List<string> deck, string card, int count) => deck.AddRange(Enumerable.Range(0, count).Select(x => card));