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

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -