Thank you for posting at Dotnetfunda [Administrator]
Hashtable curr = new Hashtable(); //Now add the currency details if(!curr.Keys.Contains("INR")) { curr.Add("INR", "INDIAN RUPEES"); }
ArrayList arrList = new ArrayList(); arrList.Add(15); arrList.Add(16); arrList.Add(17); arrList.Add(19);
f(!arrList.Contains(15)) { arrList.Add(15); } else { MessageBox.Show("Already Exists"); }
Login to post response