---
title: "What is delegate in .NET?"  
description: "What is delegate in .NET?"  
author: "Shikhar Arora"  
published: 2019-12-07  
canonical: https://answers.mindstick.com/qa/92561/what-is-delegate-in-dot-net  
category: "technology"  
tags: [".net programming"]  
reading_time: 2 minutes  

---

# What is delegate in .NET?

What is delegate in .NET

## Answers

### Answer by Harsh Pandey

![What is delegate in .NET?](https://answers.mindstick.com/questionanswer/3b96c28a-049a-4b3d-bc3a-cbea2646e2ed/images/a167f521-6bdf-4c12-b8ff-02aaa13b7070.jpeg)\

In the .NET workspace, a [**delegate**](https://www.geeksforgeeks.org/c-sharp-delegates/) is a command type that defines a technique signature and it can skip a feature as a parameter. In simple words we can say delegate is a .NET item which factors to a way that suits its particular signature. A delegate is a shape of type-safe function pointer utilized by the Common Language Infrastructure.

You create a delegate with the delegate keyword, observed by using a return type and the signature of the strategies that may be delegated to it. A delegate is unbiased of the kind of method that it references. The signature of the method and the delegate ought to match. \
The delegate item can then be surpassed to code that may name the referenced method, without having to realize at assemble time which approach can be invoked. \
It provides an awesome way to encapsulate the methods. Delegates are the library class in System namespace. These are the type-safe pointer of any approach. Delegates are particularly utilized in enforcing decision-again strategies and activities. \
Delegates may be chained collectively as two or greater techniques may be known as on a single event. It doesn’t care approximately the elegance of the item that it references.


---

Original Source: https://answers.mindstick.com/qa/92561/what-is-delegate-in-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
