fsharp if pets.ContainsKey("joe") then printfn "%s" pets.["joe"]
#light
open System
open System.Collecions
let pets = new Generic.Dictionary<string, string>()
pets.Add("joe", "cat")
pets.Add("mary", "turtle")
pets.Add("bill", "canary")
if pets.ContainsKey("joe") then printfn "%s" pets.["joe"]