Why does the same code sometimes run, and sometimes give me an exception?
I am just running a test, looking at the limits of strings in memory. The entirety of my Main.vb reads:
Module Main
Sub Main()
teststring()
End Sub
Sub teststring()
Dim strC As String
strC = New String("C"c, 588060752)
End Sub
End Module
It will run just fine sometimes (usually but not always when I haven't run it in a minute or so), and other times will fail with an exception.