T
Tony Johansson
Hi!
I'm reading a book from Microsoft Press (exam 70-536) and there is some
Review questions after each chaper.
Here is the question "Which command would you use to close the application
domain in the following code sample."
AppDomain d = AppDomain.CreateDomain("New Domain");
d.ExecuteAssemblyByName("MyAssembly");
A. d. DomainUnload()
B. d = null
C. d.Unload()
D. AppDomain.Unload(d)
The right answer according to the book is B and D.
I have guessed only at D because I can't find why B is also included in the
right answer.
Because of the nature of the question I also got the impression that only
one answer is correct.
//Tony
I'm reading a book from Microsoft Press (exam 70-536) and there is some
Review questions after each chaper.
Here is the question "Which command would you use to close the application
domain in the following code sample."
AppDomain d = AppDomain.CreateDomain("New Domain");
d.ExecuteAssemblyByName("MyAssembly");
A. d. DomainUnload()
B. d = null
C. d.Unload()
D. AppDomain.Unload(d)
The right answer according to the book is B and D.
I have guessed only at D because I can't find why B is also included in the
right answer.
Because of the nature of the question I also got the impression that only
one answer is correct.
//Tony