SHASHANGKA SHEKHAR'S BLOG

Author, TechWriter

What’s the difference between String and string?

The string type is an alias for the System.String class. It is derived from object type.

  1. String is just a class name.
  2. String is a reference type
  3. String is not a keyword and it can be used as Identifier.
  4. string is a keyword and cannot be used as Identifier.

Events

In this article we will try to understand what is event and how to handle and raise Events.

Note: Before start reading this article please hold a clear concept on delegates. Follow the link to read the previous article on Delegates.

Read More

Delegates

In this article we will try to understand what is delegate, how to use it.

Dictionary meaning:A person sent or authorized to represent others “or “A person designated to act for or represent another or others

Read More

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