MCQs > IT & Programming > DotNet Using VB > Given the following code, which calls will be valid ways to add the elements of a string array to a List(Of String)? Dim values() As String = {'1', '2', '3', '4'} Dim valueList As New List(Of String)

DotNet Using VB MCQs

Given the following code, which calls will be valid ways to add the elements of a string array to a List(Of String)?
        Dim values() As String = {"1", "2", "3", "4"}
        Dim valueList As New List(Of String)

Answer

Correct Answer: valueList.AddRange(values)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

DotNet Using VB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

DotNet Using VB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it