Top "Expandoobject" questions

ExpandoObject is a .NET type whose members can be added and removed at runtime.

How do you convert any C# object to an ExpandoObject?

I've read a lot about how ExpandoObject can be used to dynamically create objects from scratch by adding properties, but …

c# dynamic expandoobject
Deserialize a property as an ExpandoObject using JSON.NET

For example, there's an object like the next one: public class Container { public object Data { get; set; } } And it's used …

c# serialization json.net .net-4.5 expandoobject
Adding unknown (at design time) properties to an ExpandoObject

just exploring c# 4. Trying to get my head around all this dynamic stuff. Sorry if this question is silly, no …

c# c#-4.0 expandoobject
Can I serialize an ExpandoObject in .NET 4?

I'm trying to use a System.Dynamic.ExpandoObject so I can dynamically create properties at runtime. Later, I need to …

c# .net serialization dynamic expandoobject
Why can't I do this: dynamic x = new ExpandoObject { Foo = 12, Bar = "twelve" }

Am I doing something wrong, or is the following code really not possible? dynamic x = new ExpandoObject { Foo = 12, Bar = "twelve" }; …

c# dynamic expandoobject
"Keyword 'this' is not valid in a static property, static method, or static field initializer" when adding methods to an ExpandoObject

I am try to add a dynamic method to ExpandoObject which would return the properties (added dynamically) to it, however …

c# dynamic expandoobject
Binding a GridView to a Dynamic or ExpandoObject object

I'm using Rob Conery's Massive ORM, and I haven't been able to bind the resulting ExpandoObject to a GridView. I …

.net gridview dynamic orm expandoobject
how get value on expando object #

First I read txt files into a folder, and after I hydrated objects with expando Object. But now I would …

c# expandoobject
convert from dynamic xml to c# object

I need inputs in converting an dynamic xml to defined c# object model My sample xml is as below : <?…

c# .net c#-4.0 dynamic expandoobject
Add property to ExpandoObject with the same name as a string

Is there a way to add a property to an ExpandoObject with the same name as a string value? For …

c# dynamic expandoobject