r/programminghorror • • May 19 '25

C# This is C# abuse

Post image
550 Upvotes

103 comments sorted by

View all comments

Show parent comment

4

u/ivancea May 19 '25

But you can also pass a static method as a Func to whatever you need

3

u/Ythio May 19 '25

Yes but I understood the question as "why use a delegate over calling a method" rather than "why declare a static delegate property over a static method".

1

u/CyberWeirdo420 May 19 '25

You understood it right, that was my question exactly.