How IntelliSense uses your XML comments to provide help

Goal

In this tutorial you will understand how XML comments are used by Visual Studio IntelliSense to provide help text when writing code.

Look at the example below

XML comments in Visual Studio
 
You can see above how the XML comments which are written to describe the Mathematics class are shown by IntelliSense when using the Mathematics class in code.

XML comments in Visual Studio
 
Above you can see how the XML comments written for a method are shown to you by IntelliSense while calling the methods in code.

Good code practice

It’s a good code practice to write XML comments in your code. You should develop this skill from the very beginning so that other programmers can use your code easily by following the documentation you write in the XML comments

Quick Links

E-Magazines

@

Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..

Ok

Login to Open ESchool OR Create your account    Login   SignUp