Here is the answer of the 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);
The above question is related to “LinkedIn C# Skill Quiz“. You can find all the updated questions and answers related to to “LinkedIn C# Skill Quiz” on the “LinkedIn C# Skill Quiz” page. If you find the update in question or answers, do comment on this page and let us know. We will update the answers as soon as possible.
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.