C# has the following reserved keywords: : Intrduction « Language Basics « C# / CSharp Tutorial






abstract              as                base                    bool                 break

byte                  case              catch                   char                 checked

class                 const             continue                decimal              default

delegate              do                double                  else                 enum

event                 explicit          extern                  false                finally

fixed                 float             for                     foreach              goto

if                    Implicit          In                      Int                  Interface

Internal              Is                lock                    long                 namespace

new                   null              object                  operator             out

override              params            private                 protected            public

readonly              ref               return                  sbyte                sealed

short                 sizeof            stackalloc              static               string

struct                switch            this                    throw                true

try                   typeof            uint                    ulong                unchecked

unsafe                ushort            using                   virtual              void

volatile              while








1.1.Intrduction
1.1.1.A C# program begins with a call to Main()
1.1.2.Using csc.exe, the C# Command-Line Compiler
1.1.3.The C# Keywords
1.1.4.C# has the following reserved keywords:
1.1.5.Compile csharp source code in command line