You must first unbox the value as the dictionary’s value type is object.
Dictionary<object, object> dict = ...
Color = (int)(long)dict.GetValue("color");
You must first unbox the value as the dictionary’s value type is object.
Dictionary<object, object> dict = ...
Color = (int)(long)dict.GetValue("color");