When we are developing any application there are lot of common repetitive tasks which we are required to do.Tasks such as using separate configurations for different environments,removing debug statements from production code and minifying JavaScript files are required very frequently.Most of the time we as developers perform these tasks manually.But this is not the best approach.Doing […]
Archives for May 2017
LINQ Tutorials
In these LINQ Tutorials you will understand what is LINQ and how to use LINQ. LINQ stands for Language Integrated Query.It is used for writing queries using .NET language such as C#.Data consumed by application comes from different data sources so there is some complexity involved when accessing data from different data sources.When accessing data from […]
Use of LINQ
Use of LINQ Every application needs to work with data.Whether it is a small application or enterprise application ,all the application needs to store details such as the users,data to display,data related to problem domain. Most of the languages provides different ways to manage the different types of data.For example in C# you can retrieve and […]
LINQ to objects
LINQ is of different types based on the source of data.For example for querying in-memory data sources or collections LINQ to objects is used. LINQ to objects is used for querying collections such as List<T>.Any collection which implements IEnumerable<T> or IEnumerable interfaces can be queried using LINQ. Arrays can be querid using LINQ queries since it […]
IEnumerable and IQueryable interfaces in C#
IEnumerable is an interface which is implemented by collections.It is used to iterate over the collection elements. Some of the features of this interface are: It is used to iterate over a collection in forward direction. It can not be used to modify collection elements. A collection implementing this interface can use foreach loop to iterate […]