C Sharp (C#) - Collections
Find the error in this C# code snippet:
var list = new List{1, 2, 3};
list[3] = 4;
Console.WriteLine(list.Count);
var list = new List{1, 2, 3};
list[3] = 4;
Console.WriteLine(list.Count);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions