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
Post a Comment