SHASHANGKA SHEKHAR'S BLOG

Hi, I am Shashangka Shekhar, Working with Microsoft Technologies. This is my personal blog where I share some of my experiences.

Classes in C#.Net

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. Read More

Casting and Type Conversions

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.(নিজের দায়িত্তে)

Read More

Boxing and Unboxing

Boxing: Implicit conversion of a value type (int, char etc.) to a reference type (object), is known as Boxing. In boxing process, a value type is being allocated on the heap rather than the stack. Read More

Constructor

Constructor is a special method of a class or struct.

When a class or struct is created, its constructor is called. Constructors have the same name as the class or struct, and they usually initialize the data members of the new object. Read More

Encapsulation VS Abstraction

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:

Abstraction:

  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.

Encapsulation:

  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.

Read More

Configure Application Pool (IIS)

Create New App Pool (IIS)

Install (IIS)

Constant VS Read-Only

Dictionary Meaning:

The meaning of “Constant” is “Something that does not or cannot change or vary.”

What is Constant?

Constants are unchangeable value that do not change for the life of the program. Constants are declared with the const modifier.

constrn Read More

What is MVC?

MVC is a framework pattern that splits an application’s implementation logic into three component roles: models, views, and controllers. Read More

What is Unobtrusive JavaScript?

Unobtrusive JavaScript is a general term that conveys a general philosophy, similar to the term REST (Representational State Transfer).

The high-level description is that unobtrusive JavaScript doesn’t intermix JavaScript code in your page markup.

Pages:12