Skip to content

Commit

Permalink
Add links to setup and tutorials (#36063)
Browse files Browse the repository at this point in the history
Fixes #33542

Readers of the Tour of C# need to find resources to download the SDK and write their own versions of these introductory tutorials.
  • Loading branch information
BillWagner committed Jun 30, 2023
1 parent 7a9b7f2 commit 0a47948
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/csharp/tour-of-csharp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ The `Hello` class declared by the "Hello, World" program has a single member, th

The line starting with `//` is a *single line comment*. C# single line comments start with `//` continue to the end of the current line. C# also supports *multi-line comments*. Multi-line comments start with `/*` and end with `*/`. The output of the program is produced by the `WriteLine` method of the `Console` class in the `System` namespace. This class is provided by the standard class libraries, which, by default, are automatically referenced by the compiler.

You use the [.NET SDK](https://microsoft.com/dotnet/download) to build your own "Hello, World" program. Once you install the SDK, you run `dotnet new console` to create a basic "Hello, World" program that you can modify. For more information, see the [Hello, World tutorial](../..//core/get-started.md) in the .NET Get started section.

## Types and variables

A *type* defines the structure and behavior of any data in C#. The declaration of a type may include its members, base type, interfaces it implements, and operations permitted for that type. A *variable* is a label that refers to an instance of a specific type.
Expand Down

0 comments on commit 0a47948

Please sign in to comment.