Stopwatch 计时
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim L As New List(Of String)
For i As Integer = 0 To 50000
L.Add(i.ToString)
Next
Dim sw As New Stopwatch
sw.Start()
Dim j = L.Find(Function(x) x = "4550")
sw.Stop()
MsgBox(j)
Dim Tsp As TimeSpan = sw.Elapsed
MsgBox("耗时:" & Tsp.TotalMilliseconds)
End Sub
SCALELISTEDIT 重置提高CAD速度
IO.Path.Combine 连接的两个字符串不能
欢迎关注微信公众账号ByCAD