I have an issue in in .net project. I am using System.Collections.Hashtable to store values and add key value like
“putreturnsbetweenparagraphs”
and I want to search word “between” on that key value.
Now I am using
//Declare hash table
System.Collections.Hashtable _Index;
//add values to hashtable
_Index.Add("putreturnsbetweenparagraphs",theword );
//search section
string searchWord="between";
if (_Index.ContainsKey(searchWord))
{
//code
}
Any idea about this ?
1 Answer