Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ListTest
- {
- public List<int> MyList;
- public ListTest()
- {
- MyList = new List<int> { 1, 2, 3 };
- }
- }
- var listTest = new ListTest()
- {
- MyList = {4,5,6}
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement