How to create a dynamic object of the below representation in c#. Guid is passed in as a parameter
{$addToSet : {childFolders: "Guid"}}
I tried this :
dynamic expando = new ExpandoObject();
expando.$addSet = new ExpandoObject() as dynamic; // This line gives me error on visual studio . Unexpected character '$'