How do I generate these kind of summaries in Visual Studio?
/// /// Returns a number /// ///
Use tools like GhostDoc. It will generate using right clicking a method name.