asp.net - Create a key value pair in c# -


i have been trying create class has property key value pair, have tried dictionary keyword, need this:

classname clsname = new classname();  clsname.propertyname.add["key"] = value; 

i want dynamic property can send datatype.

if after basic class, key , value, would

keyvaluepair<string, object> 

work you?


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -