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 on Loops and Nested Loop

C# Arrays

C# Strings

User-Define Methods

Variable Scope

C# Enumerations

C# Structure

C# Exception Handling

Object Oriented Programming

C# Classes

C# Constructor & Destructor

C# Inheritance

C# Polymorphism

C# Operator Overloading

C# Interface

Abstract Classes, Abstract Methods

Sealed Classes, Methods

C# Properties

C# Indexer

C# Delegates

C# Generics

C# Collection

System.Object

Operator Precedence

When an expression is evaluated each operator is processed in a sequence. This doesn’t necessarily mean evaluating these operators from left to right. The Priority or Precedence in which the operators are performed is called the Hierarchy of operators.

Precedence Operators
Highest ++, --
*, /, %
+, -
<<, >>
<, >, <=, >=
= =, ! =
&&
||
Lowest =, *=, /=, %=, +=, -=

Parentheses have the highest priority. If there are more than one set of parentheses than the inner most parentheses would performed first.