Category: C#

A Look into Web.Config

Applications of XML have been integrated into .NET to such an extent that XML is hardly a buzzword anymore. Microsoft, as you probably know, has taken XML into the core of its .NET framework. Not only is XML a generally accepted format for the exchange of data, it’s also used to store configuration settings. Configuration

IComparable vs IComparer

In .NET some of the collection types such as Array, ArrayList, List<T> expose the Sort method that allows you to sort the collection. In order for those classes to sort the collection, there has to be a way for them to somehow compare objects with each other. The most basic Sort method usually does not

MSIL De-Compiler Working Mechanism

Introduction Welcome to my journey of writing a .NET assembly de-compiler. First of all I’ll try to develop a theory to decompile MSIL. I just do whatever a MSIL instruction ask me to do. But I do it keeping in mind that I am decompiling MSIL. So when it asks to push me a value

Learning LINQ Part-2

LINQ (Language INtegrated Query): 1) LINQ is a technique for querying data. 2) We can easily retrieve data from any object that implements the IEnumerable<T> interface using LINQ. 3) LINQ supports IntelliSense and objects are strongly type-safe on the other hand SQL queries are not.  LINQ Types: LINQ to Object LINQ to ADO.Net   LINQ to

Learning LINQ Part-1

Introduction LINQ (Language Integrated Query) is a programming model that introduces queries as a regular programming concept into .NET Languages. LINQ syntax is more semantic and self explanatory. It provides a simple but most powerful environment to the developer by reducing code size. LINQ can access data from several data sources like Plain .NET Objects
SiteLock