Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var data = new TestClass()
- {
- ID = 1,
- UID = Guid.NewGuid(),
- CreateDate = DateTime.Now,
- Name = "Hello world",
- MyData = new Data()
- {
- ExtraData = new ExtraData() { Name = "Data" },
- ID = 1,
- Name = "Hello world",
- Ints = new List<int>() { 1,2,3 }
- },
- ArrayData = new Data[] { new Data() {
- Ints = new List<int>() { 1,2,3 },
- ExtraData = new ExtraData() { Name = "Data" }, ID = 1, Name = "Hello world" },
- },
- ArrayInt = new[] { 10 },
- Dict = new Dictionary<string, string> { { "1", "1" }, { "2", "2" } },
- DictData = new Dictionary<string, Data> { { "1", new Data() {
- Ints = new List<int>() { 1,2,3 },
- ExtraData = new ExtraData() { Name = "Data" }, ID = 1, Name = "Hello world" } } }
- };
Add Comment
Please, Sign In to add comment