I have this:
void SaveMultiple(Dictionary<string, decimal> updates)
{
ColumnSet cs = new ColumnSet();
cs.Attributes = new string[] { "att1", "att2", "add3" };
}
My attributes array needs to be all the string values of the dictionary.
How can I do that?
Thanks
You mean the keys of this dictionary? Then updates.Keys.ToArray() will give them to you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With