We can init a HashTable
object using the below syntax.
var listTinhThanh = new System.Collections.Hashtable()
{
{ "key", someObject }
};
I want to use the code in such a manner of:
var listTinhThanh = new System.Collections.Hashtable()
{
{ Key:"key", Value:someObject }
};
But that DOESN'T work. Do you have any work-around?