Monday, August 9, 2010

NullReferenceException Questions

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?
Variable 'ThisPlayer1' is used before it has been assigned a value. A null reference exception could result at runtime.

2. Post a screen shot of the resulting message box.

No comments:

Post a Comment