Is there an easy way to create and Object and set properties in C# like you can in Javascript.
Example Javascript:
var obj = new Object; obj.value = 123
The way to do this is you use C# 4.0 Dynamic types like Expando Object... see this topic:
How to create a class dynamically