I've noticed that while programming sometimes a tool tip window pops up beside the selected class in the drop down window while typing. This tool tip often contains a description of the class or variable that is highlighted or selected. I was wondering how to do this for my own classes, methods, and variables. Any help is genuinely thanked.

I know how to set my variables as read only, but still confused on the description part.

6 Years
Discussion Span
Last Post by lxXTaCoXxl

Put the triple slashes /// at the top of a method or class.
When you fill out the comments sections in that "structure" you will see those descriptions when you hover your items. When you hit the third slash, the structure will appear.

Here is a simple one, but on methods, they are more complex.

/// <summary>
/// </summary>
class Program

Edited by thines01: n/a


Much thanks, I've been trying to figure that out for a while. I always wondered what the summary comments were.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.