Is it possible to concatenate two lists of different types?
string[] left = { "A", "B", "C" }; int[] right = { 1, 2, 3 }; var result = left.Concat(right);
There is a type error in the above code. It works if the types are the same (for example, both are int or strings).
POM
source share