With a String array defined as the following:
Dim str() as String = Array of String("1", "2", "3") in the main class.
How would I pass this String array to a Class Module?
My Example: Public sub subFunction(str() as String)
....
....
End Sub
Do I have to indicate the same number of elements for the string in the Class I want to pass the String array to? I don't think so.
Or should I use a List?
Do I need to define a String array to pass the array from the calling module/class?
Dim str() as String = Array of String("1", "2", "3") in the main class.
How would I pass this String array to a Class Module?
My Example: Public sub subFunction(str() as String)
....
....
End Sub
Do I have to indicate the same number of elements for the string in the Class I want to pass the String array to? I don't think so.
Or should I use a List?
Do I need to define a String array to pass the array from the calling module/class?