Skip to main content
expression trees c#

Expression Trees in C# with an example

Before beginning with Expression Trees, let us first understand Expression in .NET In .NET, Expression is an abstract class which contains static methods and inherited by various types (like ParameterExpression, MethodCallExpression, BinaryExpression etc.) to create expression tree nodes of specific types. Also, all these expression-specific expression tree types are defined in System.Linq.Expressions namespace. Expression Trees […]

Read More

Anonymous Methods

Anonymous Methods in C# with example

First of all, as the name suggests, an anonymous method is a method without a name. Anonymous methods in C# can be defined using the delegate keyword and can be assigned to a variable of the delegate type. C# Anonymous Methods Probably anonymous methods were introduced in C# 2.0 version. To know more about C# features […]

Read More

ArrayList class in C#

How to use the ArrayList class in C#?

In this article, let us see the uses of ArrayList class in C#. After reading this article, you will learn about, ArrayList Uses of ArrayList How to Access elements in ArrayList Types of used in Methods in ArrayList First and foremost thing we have to remember about an array is, it does not have a fixed […]

Read More