This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Which collection type has a fixed size that can't change after it's created?
List<T>
Array
string
Which method adds a new item to the end of a List<T>?
.Append()
.Add()
.Insert()
Given string[] scores = { "A", "B", "C" };, how do you access the third item?
string[] scores = { "A", "B", "C" };
scores[3]
scores(2)
scores[2]
You're writing a program to track an unknown number of player names as they join a game. Which structure fits best?
A single string variable
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?