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