Game Development Reference
In-Depth Information
Next, fill in the XML template completely with comments for your function.
Be sure to give each parameter an appropriate comment too, as shown in the
following screenshot:
Commenting your functions using XML comments
Now, when calling the AddNumbers function elsewhere in code, the code-completion
pop-up helper will display both the summary comment for the function as well as
the parameter comments' context sensitively, as shown here:
Viewing comments when making function calls
 
Search WWH ::




Custom Search