An application consists of one or more processes. A process, in the simplest terms, is an executing program. One or more threads run in the context of the process. A thread is the basic unit to which the operating system allocates processor time. A thread can execute any part of the process code, including parts currently being executed by another thread. Source: http://msdn.microsoft.com/en-us/library/ms684841%28VS.85%29.aspx
I understand about thread, but I can't distinguish between application & process. What is application? What is process? How do an application have more than 1 process? And please give me an example in C#. Thanks.
Update: I have another question about WinWord. When you run WinWord application, a editor window will open. And from this window, you click on New button on Toolbar, 2nd editor window will open. Question: Is the 2nd window running in another process? If yes, why I use Task Manager, I only see one WinWord process name. Thanks.