using System.Collections.Generic;
public static void Main()
var dictionary = new Dictionary<int, bool>
var lowestKey = dictionary
if (dictionary.Any(kv => kv.Value == true))
Console.WriteLine("The ls:" + lowestKey.ToString());
Console.WriteLine("The lowest key with value true is:" + lowestKey.ToString());