Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# object add property

dynamic person = new ExpandoObject();
person.FirstName = "Sam";
person.LastName = "Lewis";
person.Age = 42;
person.Foo = "Bar";
...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #object #add #property
ADD COMMENT
Topic
Name
8+9 =