Logo

Programming-Idioms

History of Idiom 51 > diff from v35 to v36

Edit summary for version 36 by n4r9:
New Csharp implementation by user [n4r9]

Version 35

2019-07-04, 01:00:22

Version 36

2019-09-26, 14:20:03

Idiom #51 Check if map contains key

Determine whether map m contains an entry for key k

Illustration

Idiom #51 Check if map contains key

Determine whether map m contains an entry for key k

Illustration
Extra Keywords
table dictionary hash
Extra Keywords
table dictionary hash
Code
bool keyExists = m.ContainsKey(key)