ayozzhero
Well-known member
I am new to StringBuilder. Commonly, I would write my code like this:
But if I want to change MyString to StringBuilder, how should the code myString = i be?
Thanks for helping.
VB.NET:
[color=Blue]Dim[/color] myString [color=Blue]As String[/color]
[color=Blue]For [/color]i [color=Blue]As Integer[/color] = 0 [color=Blue]To[/color] 10
myString = i
[color=DarkGreen]'some other codes go here[/color]
[color=Blue]Next[/color]
But if I want to change MyString to StringBuilder, how should the code myString = i be?
Thanks for helping.
Last edited: