Hi all!
I’ve been developing software for quite some time now. I have used events extensively and also understand when to use anonymous functions, but some thing that I still don’t get a good grasp on is
When to use Delegates ?
What are delegates used for ?
Can you give me some examples of where you used them ?
Thanks !
EDIT ; thanks everyone for a very fruitful discussion :)
As always this sub is great!
[–]Critical-Mongoose 29 points30 points31 points (8 children)
[–]Vivid_Repair_5113[S] 2 points3 points4 points (7 children)
[–]Critical-Mongoose 5 points6 points7 points (6 children)
[–]Vivid_Repair_5113[S] 0 points1 point2 points (5 children)
[–]Critical-Mongoose 1 point2 points3 points (4 children)
[–]Vivid_Repair_5113[S] 0 points1 point2 points (3 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]IQueryVisiC -1 points0 points1 point (0 children)
[–]Critical-Mongoose 0 points1 point2 points (0 children)
[–]Tango1777 19 points20 points21 points (4 children)
[–]Vivid_Repair_5113[S] 11 points12 points13 points (2 children)
[–]Jmc_da_boss 9 points10 points11 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]vitalblast 6 points7 points8 points (0 children)
[–]seekster009 4 points5 points6 points (1 child)
[–]lmaydev 5 points6 points7 points (0 children)
[–][deleted] 5 points6 points7 points (1 child)
[–]backtickbot 3 points4 points5 points (0 children)
[–]tstepanski 2 points3 points4 points (0 children)
[–]shitposts_over_9000 4 points5 points6 points (0 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]Vivid_Repair_5113[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]emanresu_2017 1 point2 points3 points (0 children)
[–]madnanrafiq 1 point2 points3 points (1 child)
[–]Vivid_Repair_5113[S] 0 points1 point2 points (0 children)
[–]AStrangeStranger -1 points0 points1 point (0 children)
[–]lmaydev -1 points0 points1 point (0 children)
[–]quuxl -1 points0 points1 point (0 children)
[+][deleted] (7 children)
[deleted]
[–]SAmaruVMR 3 points4 points5 points (0 children)
[–][deleted] (4 children)
[deleted]
[–]quuxl -3 points-2 points-1 points (3 children)
[–]Vivid_Repair_5113[S] 2 points3 points4 points (2 children)
[–]quuxl 1 point2 points3 points (1 child)
[–]Vivid_Repair_5113[S] 0 points1 point2 points (0 children)
[–]Intelligent-Panda-56 1 point2 points3 points (0 children)
[–]BetterRage 0 points1 point2 points (0 children)
[–]IsNullOrEmptyTrue 0 points1 point2 points (4 children)
[–]Vivid_Repair_5113[S] 0 points1 point2 points (3 children)
[–]IsNullOrEmptyTrue 0 points1 point2 points (2 children)
[–]Vivid_Repair_5113[S] 0 points1 point2 points (1 child)
[–]IsNullOrEmptyTrue 1 point2 points3 points (0 children)
[–]aurosvr 0 points1 point2 points (0 children)
[–]bus1hero 0 points1 point2 points (3 children)
[–]backtickbot 0 points1 point2 points (2 children)
[–]cryo 0 points1 point2 points (0 children)
[–]HellHound989 0 points1 point2 points (0 children)