Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [DataContract]
- public class TestCol : List<Test> { }
- [DataContract]
- [KnownType(typeof(List<Test>))]
- public class MainTest
- {
- [DataMember]
- public TestCol Components { get; set; }
- }
- public class Test
- {
- [DataMember]
- public String Name { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement