One would think I'd already know this, but I never really gave it much thought before now. When declaring a member variable for a class, is it better to set the default value at the declarationOr is it better to do it in the constructorShould I maybe always specify a value at declaration, even if it's Nothing, and just override that value in the constructor(s) as needed? Or is it situation specific? If so, a really quick rundown of which situations might warrant which treatment would be nice.
Private m_strMyVariable As String = ""
Private m_strMyVariable As String Public Sub New() m_strMyVariable = "" End Sub