If have the following code. Where you see the XXX I would like to put in an array of type long[].
How can I do this and how would I fetch values from the dictionary? Do
In this case C# doesn't really know what type you expect to get, so you have to cast to the correct type after you take it from the dictionary and before you use it. In case of this long array this would be:
((long[])defaultAmbience["CountryId"])[0]