Tags: | Posted by blockwood on 3/25/2010 2:42 AM | Comments (0)

Delegates & Events Windows Forms 

DelegatesEventsFormExample.zip (37.66 kb)

Threading

Before implementing or coding your first multi threaded application please take some time to read from the MSDN Threading Design Guidelines.

  • Avoid providing static methods that mutate static state
  • Design for server environment
  • Instances do not need to be thread safe
  • Static states must be thread safe

Threading can be accomplished in two steps:

  1. Create a delegate object, initialized with a method
  2. Use this object as an initialization parameter when creating a new Thread object.

Check out more info at the MSDN site : http://msdn.microsoft.com/en-us/library/hkasytyf(VS.100).aspx

LINQ

LinqToObjects.zip (20.39 kb)

ADO.NET

ADONET_ASPNET.zip (3.31 kb)

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5