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