mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[qsharp/en] Remove mention of multi-line comments
Q# does not support multi-line comments, so that mention can be misleading.
This commit is contained in:
parent
af19db1735
commit
17e3a63441
@ -9,20 +9,9 @@ filename: LearnQSharp.qs
|
|||||||
|
|
||||||
Q# is a high-level domain-specific language which enables developers to write quantum algorithms. Q# programs can be executed on a quantum simulator running on a classical computer and (in future) on quantum computers.
|
Q# is a high-level domain-specific language which enables developers to write quantum algorithms. Q# programs can be executed on a quantum simulator running on a classical computer and (in future) on quantum computers.
|
||||||
|
|
||||||
This is the new outline
|
|
||||||
|
|
||||||
```C#
|
```C#
|
||||||
// Single-line comments start with //
|
// Single-line comments start with //
|
||||||
|
|
||||||
/*
|
|
||||||
/
|
|
||||||
Multi-line comments
|
|
||||||
like so
|
|
||||||
\
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Note: Using C# multi-line around Q#
|
|
||||||
// there doesn't appear to be a Q# markdown formatter yet.
|
|
||||||
|
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
// 1. Quantum data types and operators
|
// 1. Quantum data types and operators
|
||||||
|
Loading…
Reference in New Issue
Block a user