哪一种更好的方法来声明变量?有没有效率\速度差异?Vb.Net变暗变量的最佳方法是什么
1.
Dim TempArray() As String = New String() {}
TempArray = Regex.Split(RTBMDataStructure.IssuesLog _
.ToString, vbNewLine, RegexOptions.IgnoreCase)
2.
Dim TempArray() As String = Regex.Split(RTBMDataStructure.IssuesLog _
.ToString, vbNewLine, RegexOptions.IgnoreCase)
第一个创建两个数组。 – 2013-02-23 23:00:08