BC42104 Error Message Chapter 4
I'm working with the code on page 107. I get an error stating:
Variable 'strFavoriteColor' is used before it has been assigned a value. A null reference exception could result at runtime.
The odd thing is that the code runs just fine, but the error message keeps popping up.
Is there a fix for this?
I'm also using Visual Studio 2017 Community Edition on a Win 7 64 bit PC.
|