How do I generate these kind of summaries in Visual Studio?
/// /// Returns a number /// ///
On the line before your property/method/etc, simply type /// and then Visual Studio will automatically add the XML tags.