Sobes.tech
Junior — Senior

What output will the program produce

livecode

Task condition

Consider the following C# code snippet. Determine what text will appear in the console after all operations are executed.

var original = new List<int>() {1, 4, 5, 7};
var myCollection = new Collection<int>(original);
var myList = new List<int>(original);
original.Add(6);
original.Sort();

myCollection.Add(2);

myList.Add(3);

Console.WriteLine($"c :{string.Join(",", myCollection)} l :{string.Join(",", myList)}");