How do I convert a dynamic object to a Dictionary in C# What can I do?
public static void MyMethod(object obj)
{
if (typ
public static void MyMethod(object obj){
Dictionary dicEditdata = data as Dictionary;
string abc=dicEditdata["id"].ToString();}
suppose---
if you place the cursor over the object(obj) while debugging and
if you get an object with the value {['id':'ID1003']}
then you can use the value as
string abc=dicEditdata["id"].ToString();