Which one of the following statements creates a List object, named friendsList, that can be used to hold 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
Q50: You can store a mixture of data
Q51: You can use the _ to insert
Q51: A(n) _ is similar to a two-dimensional
Q53: Because variables hold only a single value,
Q56: List objects, like arrays, are always passed
Q57: Look at the following code sample: const
Q58: Look at the following code sample:
Q59: Traditional two-dimensional arrays, where each row has
Q59: If you know the value of the
Q60: Creating a reference type object typically requires
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