using System.Collections.Generic;
public static void Main()
Random metaRandom = new Random();
List<byte> requiredMatches = new List<byte>(){ 7, 5, 0, 4 };
List<byte> limits = new List<byte>(){ 7, 6, 8, 12 };
List<int> randomInts = new List<int>(){0, 0, 0, 0};
for (int i = 0; i < 100000; i++)
seed = metaRandom.Next();
for (int j = 0; j < requiredMatches.Count; j++)
randomInts[j] = r.Next(0, limits[j] + 1);
bool discrepancy = false;
for (int j = 0; j < requiredMatches.Count; j++)
if (randomInts[j] != requiredMatches[j])
Console.WriteLine(checksRequired);