Duration: 17 minutes
Summary: In this video, this example continues the discussion of threads. We will see how to get information about the current thread, current AppDomain, and current Context. We will then see how to call a method on a separate thread using the BeginInvoke()/EndInvoke() calls. Calling methods on a separate thread is very important so the main application will not hang waiting for the time consuming method to terminate. Finally, we see how to use the Timer to display a message every second.
Methodology of the development of example: Good coding standard and simplified design.
Technology Used: C# 4.0
Keywords: C#, System, Console, Thread, AppDomain, Context, InfoDelegate, IAsyncResult, TimerCallback, Timer.