Show/Hide Toolbars

XSharp

Purpose

X# has many comment formats.

Syntax

/*  this is a multiline
   comment */
// this is a single line comment
&& this is a single line comment. It may appear after other statements on a line
* this is also a comment. the * must be the first non whitespace character on the line

Description

X# has many different comment formats

Examples

These examples show the various comment symbols:

 

// This is a comment
/* This is a comment */
* This is a comment
&& This is a comment