I am working with Auth0 where i need to update appmetadata .
this is how my app meta data looks like
userUpdateRequest.AppMetadata = new Dictionary<string, dynamic>
{
{"toysNumber",new List<int> {2,3,9,77} }
};
I have a list of int that contains some more toys number.
List<int> itemsToAddInMetadata = new list<int>{22,33,65,..}.
I want to do something like that -
userUpdateRequest.AppMetadata = new Dictionary<string, dynamic>
{
{"toysNumber",new List<int> {2,3,9,77,itemsToAddInMetadata} }
};
I cant figure out the correct syntax. how can i insert list of int in another list like for loop ? [NB: in my case the issue was proper syntax]