Exporting SQL Data to Excel with ASP.NET Core

In today’s digital age, efficient management of employee information is crucial for any organization. In this blog post, we will walk through the process of creating a simple ASP.NET Core API for managing employee details and exporting them to an Excel file. Required Packages Before we dive into the code, let’s take a quick look […]

Understanding IEnumerable, ICollection, and IList in C#

In this article we will discuss about when to use IEnumerable, ICollection and IList with example. IEnumerable, ICollection and IList are important interfaces in C# for working with collection.  IEnumerable is the base of the ICollection and IList interfaces IEnumerable In this example, we create a List<string> object called fruits that contains three different fruits Then use a foreach loop to […]