Classes in C#.Net

C# Basic

A class is a blueprint, that defines the attributes and behaviors of the objects, that are created as instances of the class.

Classes are declared by using the keyword class followed by the class name and a set of class members surrounded by curly braces. Every class has a constructor, which is called automatically any time an instance of a class is created. The purpose of constructors is to initialize class members when an instance of the class is created. Continue reading “Classes in C#.Net”

Casting and Type Conversions

C# Basic

Type conversion is converting one type of data to another type. It is also known as Type Casting. In C#, type casting has two forms:

  • Implicit type conversion – These conversions are performed by C# in a type-safe manner. For example, are conversions from smaller to larger integral types and conversions from derived classes to base classes.(সফটওয়ারের দায়িত্তে)
  • Explicit type conversion – These conversions are done explicitly by users using the pre-defined functions. Explicit conversions require a cast operator.(নিজের দায়িত্তে)

Continue reading “Casting and Type Conversions”

Encapsulation VS Abstraction

C# Advance

This is a bit confusing while both are like same, cause the definition  where abstraction is showing only necessary and the encapsulation is hiding complexity.

It’s seems that they are similar, but actually they’re not, here’s how they are differ:


  1. Abstraction is a concept of hiding mechanism (কি লুকাব)
  2. Only showing those parts which is necessary.
  3. It is a thought process that is solve in design level.


  1. Encapsulation is the implementation of that concept(কিভাবে লুকাব)
  2. Hiding complexity.
  3. Here it is actual process of hiding that is solve in class level.

Continue reading “Encapsulation VS Abstraction”

Install (IIS)