Question: What is the correct syntax for a new generic list of strings named contacts?
- public List
contacts = new List (); - public List(string names) contacts = new List(string names)();
- var contacts = new List
(); - var contacts = new List(string);
Answer: The correct answer of the above question is Option C:var contacts = new List