Error & Exception

In this article we will focus on Exception Handling, clarify our knowledge on different type of Exceptions, and also identify difference between Exception and Error. Short Overview: Error: Error means system doesn’t handle. Stop the application being executed with errors. Cause while syntax error, may occur while writing code. Exception: Abnormal things happen cause Exception. Interrupts the application […]

IEnumerable Vs IQueryable

Differences between them based on their properties : IEnumerable Namespace: System.Collections Namespace Derives from: No base interface Deferred Execution : Supported Lazy Loading : Not Supported How does it work : While querying data from database, IEnumerable execute select query on server side, load data in-memory on client side and then filter data. Hence does more work and becomes slow. Suitable for : LINQ to Object and […]

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 […]

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.(সফটওয়ারের দায়িত্তে) […]

1 2 Next »