As we know we can create the custom properties to our class and we can access these properties by creating the object for class. But for other developers it may be difficult to know about property. So we have to provide some tooltip for each property whenever any user trying to access the properties.
As shown below we have Employee class with custom property Id.
class Employee
{
int _id = 100;
///<summary>
/// This is the Employee Id
///</summary>
public int Id
{
get { return _id; }
}
}
As shown above we have Id property with some comment. This comment will display as ToolTip whenever accessing this property as shown below.