Previous Topic Next topic Print topic


Comments - in COBOL and C# and VB.NET

C# COBOL VB.NET
// Single line
/* Multiple
    line  */
/// <summary>XML comments on single line</summary>
/** <summary>XML comments on multiple lines</summary> */</span>
$set sourceformat(variable)
      * Single line "old-style" COBOL comment with '*' in column 7
               *> inline comment may follow COBOL statements etc.
         *>> <summary>XML comments</summary>
' Single line only
REM Single line only
''' <summary>XML comments</summary>
Previous Topic Next topic Print topic