✅ Assigning an Action to a delegate
I have an Action<> that is defined as:
I want to have a
My initial attempt was to do:
However, this doesn't like it as it appears to be expecting a concrete (?) function rather than an
How can I define my delegate in a way that it can have an
Google isn't helping me, as any results that include "action" and "delegate" are just pages talking about how an
I want to have a
delegate in my class that can call multiple of these actions.My initial attempt was to do:
However, this doesn't like it as it appears to be expecting a concrete (?) function rather than an
Action<>.How can I define my delegate in a way that it can have an
Action<> added to it?Google isn't helping me, as any results that include "action" and "delegate" are just pages talking about how an
Action<> is a type of delegate