What Was I Thinking?

Follies & Foils of .NET Development

  Home  |   Contact  |   Syndication    |   Login
  28 Posts | 0 Stories | 55 Comments | 0 Trackbacks

News

Archives

Post Categories

Check These Out

Gurus

I know this is available other places on the web, but I'm posting it here because I often have to search for it.  This tip is more for my benefit than others :)

class Program
{
   public static void Main()
   {
      Thread t = new Thread(delegate() { 
         SayName("Lou","Costello");
         });
      t.Start();
   }

   protected static void SayName(string firstName, string lastName)
  {
        Console.WriteLine(firstName + " " + lastName);
  }
}
posted on Monday, April 07, 2008 8:39 PM