Convert an object to System Guid

Viewed 50134
Guid mainfolderid = (main.GetValue(""));

where main is a dynamic entity.

How can I convert the above mentioned main.GetValue("") to System.Guid?

The error says

Cannot implicitly convert type object to 'System.Guid'.

7 Answers
Related