关于 字符串数组
我定义了一个字符串数组
dim aa() as string
怎样向里面动态添加字符串
3Q
[解决办法]
动态添加字符串用List <String> 吧,如果是1.1就用ArrayList
[解决办法]
你可以用ArrayList
示例:
Dim aylLength As New ArrayList
Do
strReadLine = sr.ReadLine()
If strReadLine = "End Structure " Then
Exit Do
End If
aylLength.Add(strReadLine.Replace( " ", " ").Substring(15, 1))
Loop