Sunday, August 8, 2010

Blog Task: Warnings

Visual Studio IDE provides a warning with regards to using variables before they have been assigned a value, this warning is as follows: 

#use the "new" keyword to create an object instance 
#check to determine if the object is null before calling the method 

The warning pops up in a box and has a yellow box around the code that is incorrect, it also contains a green squiggly line under in this case ThisPlayer1.

    No comments:

    Post a Comment