A developer examines a workflow in which filenames are stored within a collection. The collection is initialized with a single filename. When adding a new filename to the collection, which collection variable type will cause an error?
System.Array: An array is a fixed-size collection that can hold elements of the same data type. It’s not ideal for scenario because you want to add new filenames dynamically.
B seems to be the more accurate answer. Once an array is initialized, it is fixed, meaning it cannot grow in size. A list is a data collection that works similar to an array, HOWEVER, a list can add new items and constantly grow in size.
Based on your explanation then C is the correct answer because the question is asking which will cause an error. An array will, because it is fixed.
upvoted 3 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
milesvvv
7 months agomilindkumar
9 months agomilindkumar
9 months agoBrandon00777
9 months agokingkayy
7 months, 1 week ago