0 votes
in C Sharp by
How to check whether hash table contains specific key in C#?

1 Answer

0 votes
by
Method – “ContainsKey” can be used to check the key in hash table. Below is the sample code for the same –

Eg: myHashtbl.ContainsKey("1");
...