You can (and should) use XML comments to more effectively document your code, including Classes, Fields, Properties and Methods. XML comments will also populate the description for these elements when you hover over them in Visual Studio – this is particularly helpful for Classes that contain public members.
By using XML comments, you can then simply hover over the public member being used in another class and Visual Studio will give you the summary of what that member does.

You can quickly add the template of an XML comment by typing ‘///’ above the member you want to comment. Visual Studio will automatically populate the <summary> structure for you, and give you the appropriate return and argument tags included in the new comment.
You can also use these XML comments to generate HTML documentation using tools such as Doxygen, and preview these types of documentation within Visual Studio with extensions like DocPreview.
