What are XML Comments in Dot Net

The XML comments specifies the description of the methods and input and output parameters.

    /// <summary>

    /// This method retrives the password and send to mail ID

    /// </summary>

    /// <param name="email"></param>

    /// <returns>boolean</returns>

    public bool RetrievePassword(string email)






If you want to add xml comments to the method just type /// on the top of the method. Automatically it add thw summary tag, parameters tag and return values tag. In summary tag you can specify the description of the method.