2 ms·
Delegate is a C# term and was what I was talking about https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/delegates/ https://learn.microsoft.com
by dartos 2y ago
Delegate is a C# term and was what I was talking about
https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/delegates/ https://learn.microsoft.com/en-us/dotnet/csharp/programming-...
I need to create a delegate for any function I want to pass around.
- neonsunset 2y agoTrolling is bad, consider asking ChatGPT or reading documentation first, thanks. var func1 = (int i) => i + i; var func2 = () => func1(1) * 2; Console.WriteLine(func1(4) + func2());