Which of the following is a correct way to declare a list in C#?
Gäst (ej verifierad)
Subject
Correct answer position
1
Answer option 1
List<int> list = new List<int>();
Answer option 2
List list = new List();
Answer option 3
List<int> list = new List();
Engelska