Kenneth Odle
0
Q:

c# use hashtable check if key exists

// Create hashtable
Hashtable ht = new Hashtable();

// Add a key value pair
ht.Add("001",".Net");

// Check to see if key exists
ht.ContainsKey("001")
0

New to Communities?

Join the community