boxing on dynamic data type in c#?

Viewed 233

Type checking for an Object takes place at compile time where as type checking for dynamic data type takes place at run time then how can we box a dynamic value into Object?

dynamic dynamic = "This is dynamic data type";
Object obj = dynamic;
Console.WriteLine(obj);
1 Answers
Related