Which one of the following statements correctly creates a List object named friendsList that holds strings?
A) string friendsList = new List<string>;
B) <List> friendsList(string) ;
C) List<string> friendsList = new List<string>;
D) List<string> friendsList = new List<string>() ;
Correct Answer:
Verified
Q43: You can use the _ to take
Q44: You can call the _ method to
Q45: Memory allocated for a reference type variable
Q46: Look at the following code sample: int[,]
Q47: Reference variables can only reference objects.
Q49: A(n) _ is similar to an array,
Q50: If you know the value of the
Q51: A(n) _ is similar to a two-dimensional
Q52: Data types in C# − and the
Q53: List objects, like arrays, are always passed
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents