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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -