❔ Do you create a separate .cs file for Delegates?

Hi, do folks declare C# Delegates in its own .cs file? or include them in the .cs file of a closely related class?
5 Replies
mtreit
mtreit3y ago
There's no need for a separate cs file.
mrphil2105
mrphil21053y ago
I rarely declare a delegate. I just use Action and Func
mtreit
mtreit3y ago
Although with Func and Action I hardly ever use the delegate keyword anymore
clementine16
clementine16OP3y ago
Thanks.
Accord
Accord3y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server