...

/

Anonymous Methods

Anonymous Methods

Create methods without giving them names.

Introduction

Anonymous methods are nameless methods. They’re often used to instantiate delegates. The syntax for creating an anonymous method is as follows:

delegate(parameters)
{
	// Method body
}

Let’s see an ...

Access this course and 1400+ top-rated courses and projects.