REST API Concepts

In this article, you will understand the REST API Concepts. Before understanding REST API Concepts, first you need to know what is basically an API? An API or Application Programming Interface is an interface between software applications that allows them to communicate. API may represent a set of classes that help us build a software application. Therefore, we …

Object Initializers in C#

Object Initializers in C# provide us a way to initialize objects without using constructors. Examples of Object Initializers in C# You can use the object initializer syntax to initialize an object as well as to initialize a collection also. In this section, you will find several examples of the usage of object initializers. Example 1: …

C# Basic Examples

In this post on C# Basic Examples, you will learn some of the simple code examples that you must know to start learning the C# language. In fact, these are the basic examples that we do to learn any new programming language. As the C# is an object-oriented language, so we can only write code …

IEqualityComparer Interface

Today I will explain an important collection interface in C# known as the IEqualityComparer Interface. In fact, in C#, we have both the Generic as well as non-generic interface. However, the non-generic interface is not type-safe. What’s more, the generic interface allows us to provide our own definition for equality comparison for the specific user-defined …