I'm looking at this example:
http://geekswithblogs.net/joycsharp/archive/2008/02/15/simple-c-delegate-sample.aspxIt's clear and short, and I get the syntax, but the question is
why.
Since class A is creating an instance of class B, why would I not just write a switch statement that calls either the Add or the Sub method?
I guess I'm still searching for a real-world use for delegates.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people