How do I generate these kind of summaries in Visual Studio?
/// /// Returns a number /// ///
Put the cursor on the line just before the method or class that you want to document and type "///". Visual Studio will generate the XML doc tags, and you can fill in the details.