© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
18 replies
Faker

✅ Delegate vs lambda function/expression

Hello guys, I was just reading a bit about delegates and lambda expression. I thought that lambda expression and delegates were the same thing. For example, when I see something like:
Func<int,int>
Func<int,int>
.... is it a delegate? When such syntax appears in a method like in LINQ, there, what do we expect? Normally, we wrote something like
s => s.DoSomething()
s => s.DoSomething()


I'm a bit confused, what makes each one different from the other and when to recognise them please
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Lambda expression and arrow function
C#CC# / help
2y ago
✅ IL for function vs expression-bodied-function
C#CC# / help
2y ago
Assigning Lambda to Delegate (PurposesReason)
C#CC# / help
4y ago
LINQ Lambda-Expression Diff
C#CC# / help
4y ago