There are bunch of great questions asked and awesome answers given here about Delegates concept. Specifically this answer was more captivating. I have been working with VBA and early versions of Java and C#. I am trying to upgrade with useful and bit advanced concepts in later versions of C# as a matter of interest and work.
In VBA it's not necessary to build classes/interfaces to do something like bunch of calculations using load of parameters using a user defined function (UDF). We are able to use the UDF within another VBA function/sub or from Excel sheet.
e.g. following function in VBA takes few paramters and return a calculated value
Private Function DoSomeCalc(ByRef x as long, ByRef n as int, _
ByRef type as String) as long
//'--function implementation
End Function
In terms of understanding delegates in real world use, I had searched quite a bit and found this to be a good discussion. However it would be much helpful if I could relate what I already know.
Am I barking at the right tree here?