Hello,
is it possible to initialize a List with other List's in C#? Say I've got these to lists:
List<int> set1 = new List<int>() {1, 2, 3};
List<int> set2 = new List<int>() {4, 5, 6};
What I'd like to have is a shorthand for this code:
List<int> fullSet = new List<int>();
fullSet.AddRange(set1);
fullSet.AddRange(set2);
Thanks in advance!