ankitweblogic logo
W e b t u t o r i a l s

Visual Studio.NET IDE

Define C#.NET

C# Comment

C# Variables

C# Data Types

C# Escape Sequence

C# Operators

Exercise-1

Format String

Operator Precedence

C# Keywords

Constant Variable

Type Conversion

Flow Control

Exercise Loops & Nested Loop

C# Arrays

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# Interface

Abstract Classes & Methods

Sealed Classes, Methods

C# Properties

C# Indexer

C# Delegates

C# Generics

C# Collection

System.Object

C# Operators

For manipulating variables C# provide different type of operators:

SNo Lists Operators
1 Arithmetic Operators + , - , / , *
2 Relational Operators ==, <, >, >=, <=, !=
3 Modulas Operator %
4 Logical Operators &&, ||, !
5 Increment / Decrement Operators a++, ++a, a--, --a
6 Conditional or Ternary Operator ?:
7 Assignment Operator =, +=, -=, *=, /=, %=
8 Bitwise Operators &, |, >>, <<
9 Sizeof() operator calculate the size of the data type