I have a dictionary of type
Dictionary
I want to return the first instance where a condition is met using
var
Use the default() keyword.
bool exists = !available.Equals(default(KeyValuePair));