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

Console C#.Net Tutorial

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# Method Overriding

C# Interface

Abstract Classes & Methods

Sealed Classes, Methods

C# Properties

C# Indexer

C# Delegates

C# Generics

C# Collection

System.Object

Type Conversion in C#.Net

Type conversion or type casting is a process of converting a value of one data type into another data type is known as type conversion. It has two forms:
1. Implicit Conversion – Assigning value of smaller data type into larger data type is known as implicit conversion. Implicit conversion requires no work and no additional code.
2. Explicit Conversion – Assigning value of larger data type into smaller data type is known as explicit conversion.



Checked and Unchecked is used to check for overflow checking context for an expression.


Boxing and Un-Boxing: Boxing is used to Process of a converting a value type to a reference type. And the reverse process is called Unboxing.