vis781
Well-known member
For those of you out there you use arrays in vb.net, and are setting them to nothing after you are finished with them i would like to introduce you to a little known keyword in vb.net..
When used with arrays this keyword will set all the elements in the array to nothing before you set the actual array to nothing. One implementation would be
VB.NET:
Erase
When used with arrays this keyword will set all the elements in the array to nothing before you set the actual array to nothing. One implementation would be
VB.NET:
Dim Arr as array
ReDim arr(9)
'Do whatever
Erase arr