8 posts about Generic Delegates by 7 contributors.
Know Generic Delegates? Share what you know with developers who are learning it.
In C#, Action, and Func are generic delegates used to handle methods. Action is used for methods that don't return a value, while Func returns a value. Action<int> executes a method with an integer parameter without returning a result. Func<int, int> takes an integer, performs an operation, and returns the result.
This article covers using Func, Action, and local functions in C# 7. It explains how Func returns a value, Action does not, and how local functions can be defined within other methods. Examples include checking for prime numbers, printing the Fibonacci series, and calculating factorials.
In this article, let's try to understand generic delegates in the C# language.
Here ill describe that why we need Generic Delegates what are Generic Delegates, keyword used in Generic Delegates and their type with example
In part II of generics in C# we will see how to create generic classes, structures, interfaces, and delegates. We will also see how to create a custom generic collections.
In Part I of this series you will see the importance of generics, you will learn how to use generic types which in the System.Collections.Generic namespace and you will also learn how to create generic methods.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article