---
title: "Define Delegates?"  
description: "Define Delegates?"  
author: "Manish Kumar"  
published: 2017-11-24  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/23312/define-delegates  
category: "c#"  
tags: ["c#"]  
reading_time: 2 minutes  

---

# Define Delegates?

A delegate is a type safe function pointer. That is it holds a reference (pointer) to a function.

The signature of the delegate must watch the signature of the function. The delegate points to, otherwise you get a compiler eroor, that is the reason delegates are called as type safe function pointer.

A delegate is just like a class. You can create an instance of it. And when you do so, you pass in the function name as a parameter to the delegate constructor and it is to this function the delegate will point to.

\

## Answers

### Answer by Manish Kumar

A delegate is a type safe function pointer. That is it holds a reference (pointer) to a function.

The signature of the delegate must watch the signature of the function. The delegate points to, otherwise you get a compiler eroor, that is the reason delegates are called as type safe function pointer.

A delegate is just like a class. You can create an instance of it. And when you do so, you pass in the function name as a parameter to the delegate constructor and it is to this function the delegate will point to.

\


---

Original Source: https://www.mindstick.com/interview/23312/define-delegates

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
