a stupid thing I do over and over and over....and then I did it again!
So today I am testing some code. I keep getting a NullRef Exception. I am beating my head against my desk why.
So, it dawns on me I have some initialization code in the type I am instantiating. I walk through the initialization code and there it is...I do this EVERY time:
dim text as StringBuilder
I then start using text.append
For whatever reason, 100% of the time when using a StringBuilder I forget to to call New.
So, whats yours?