Console C#.Net Tutorial

Visual Studio.NET IDE

Define C#.NET

C# Comment

C# Variables

C# Data Types

C# Escape Sequence

C# Operators

Format String

Operator Precedence

C# Keywords

Constant Variable

Type Conversion

Flow Control

C# Arrays

C# Character

C# Strings

User-Define Methods

Variable Scope

C# Enumerations

C# Structure

C# Exception Handling

Object Oriented Programming

C# Classes

Constructor & Destructor

C# Inheritance

C# Polymorphism

C# Operator Overloading

C# Method Overriding

C# Interface

Abstract Classes & Methods

Sealed Classes, Methods

C# Properties

C# Indexer

C# Delegates

C# Generics

C# Collection

C# ArrayList

C# Stack

C# Queue

C# HashTable

C# SortedList

Page Stats

Visitor: 210

C#.Net Keywords

Keywords are the reserve words that have special meaning already define in the compiler.

abstract as async await base bool
break byte case catch char checked
class const continue decimal default delegate
do double dynamic else enum event
explicit extern false finally fixed float
for foreach global goto if implicit
in int interface internal is lock
long namespace new null object operator
out override params partial private protected
public readonly ref return sbyte sealed
set short sizeof stackalloc static string
struct switch this throw true try
typeof uint ulong unchecked unsafe ushort
using value var virtual void volatile
while yield

Important point about keywords

  1. Keywords are reserved words that cannot be used as identifier.
  2. Prefix '@' with keywords if you want to use it as identifier.