·  C# – Introduction

 

- Info:

  - C# is OOPL - Object Oriented Programming Language.

  - C# has the same syntax as C extended with additional features.

 

- Preferred Highlighting:

  - Here is an example of how to setup syntax highlighting.

 

    Test.cs

    using System;

 

    class Test {   

   

      /* Multyline

         comment   */

      static void Main(string[] args) {

        int var = 10;

        Console.WriteLine("Hello"); //Single line comment.

        Console.Read();

        return;

      }

   

    }

 

 

 

Red

Green

Blue

Example

 

Comment

0

128

0

//Comment.

 

Keyword

0

0

255

static

 

Strings

200

0

200

"Hello"

 

Numbers

200

0

200

10

 

Other

0

0

0

WriteLine