Ans:
B) Threads
Login to rate this answer.
I am sure the answer is Threads yet i always get maked wrong for that answer?
Login to rate this answer.
cocomany
Answered On : Mar 14th, 2006
It's actually Application Domains. Application Domains in turn can contain one or more threads.
Login to rate this answer.
I think it is a little bit ambigous question. From the OS point of view, the threads is correct.
Login to rate this answer.
i put threads but give wroing answer.
Login to rate this answer.
Thread is the correct answer.I dont know why I always get wrong answer for this.i am damn sure for this.
Login to rate this answer.
question is bit ambiguous.
If it is asked as : Win process can be divided on to what ? then the answer is application domain.
But a process as a program i.e.
A .net program/process can be divided in to what? then the answer would bee thread.
Overall the questin needs to be reframed for ease, but a .net guru should pick up the clue from the question.
Login to rate this answer.
Please note the question use "divide" then it should be app domain. if it use "contain"
tthen the thread is right

1 User has rated as useful.
Login to rate this answer.
Process is nothing but a program.
Process cannot be divided into multiple program, thread or appdomains.
In a process, you can launch another process using Process class. You can create multiple Threads and AppDomains in a single process.
Login to rate this answer.
At the time of exe bootstrap, CLR creats 3 Application Domains. Out of these there one is responsible to run the code in it's boundary. Here a programmer can create multiple thread to accomplish the work.
Login to rate this answer.
Application domains are typically created by runtime host( i.e. Windows process/program).
Application domains provide an isolation boundary for security,....
.NET program is an Assembly loading into an Application domain.
Threads are the operating system construct used by the common language runtime to execute code in Application domains.
Therefore, for .NET, Process (runtime host) -> Application Domains -> Assemblies (.NET programs)-> Managed Threads.
Login to rate this answer.
Application Domains
Login to rate this answer.
c) Application domain
Login to rate this answer.
B) Threads
Login to rate this answer.
Threads
Login to rate this answer.
App domains.
This could be best understood by taking an example of a browser program. A browser may run multiple web applications simultaneously. All these could be run in separate app domains. So, individual web apps can be closed. Even if a web app crashes, it doesn't affect the other apps in browser.
Thread is independent of app domain.
Login to rate this answer.