Monday, October 18, 2010

Blog Task: Warning

Using the NullReferenceExceptionDemo project:

    1. What warning does the Visual Studio IDE provide with regards to using variables before they have been assigned a value? What does the warning look like? What does it say?
    2. Comment out the incorrect code and uncomment the correct code. Substitute the string parameter “Rach” with your own name.
    3. Post a screen shot of the resulting message box.

No comments:

Post a Comment