removing all methods from delegate

  • Thread starter Thread starter essamce
  • Start date Start date
E

essamce

Guest
hi

private Action action { get; set; }
action += method1;
action += method2;
action += method3;
action += method4;




how to remove all methods from the above delegate at once (not one by one) something like List.Clear().

thanks in advance,

any help will be appreciated.

i'm using VS2019 ,c# .NetCore3.1 app

Continue reading...
 
Back
Top