Browse by Tags

Tagged Content List
  • Blog Post: Events and Races

    Here’s a question similar to one I saw on stackoverflow the other day. Suppose you have an event: public event Action Foo; The standard pattern for firing this event is: Action temp = Foo; if (temp != null) temp(); What the heck is up with that? Why not just call “ Foo() ” ? First off...
Page 1 of 1 (1 items)