Is it possible to take the existing properties and create an anonymous type with additional properties? For example (in VB)
string as public name in public form of public class as the new P in the form of new P as the integer end class { .net = "James", .ge = 100} Dim n = {.hoeSize = 10} with new
What else do I want to clone all the properties of the second object (n) And then add a new property (ShoeSize).
Is this possible?
Many thanks
James
There is no syntax. I will have to create an anonymous type with all the properties.
Comments
Post a Comment