Answers for "c# use hashtable check if key exists"

C#
0

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")
Posted by: Guest on June-04-2020

C# Answers by Framework

Browse Popular Code Answers by Language