Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC#dynamic and ExpandoObjectSingle-choice MCQ

A developer adds a member to an ExpandoObject and then tries to read a different, never-set member. What happens?

dynamic e = new ExpandoObject(); e.Name = "Ada"; Console.WriteLine(e.Age);