Which garbage collection method should you use?
You need to suspend the current thread until all Finalize() methods have been processed. Which
garbage collection method should you use?
Which feature is automatically handled in managed code but must be explicitly handled in unmanaged code?
Which feature is automatically handled in managed code but must be explicitly handled in
unmanaged code?
Which two keywords should you use to define the function?
You want to access a native Win32 function from a .NET application. You import the function. Which
two keywords should you use to define the function? (Each correct answer presents part of the
solution. Choose two.)
What are two possible ways to achieve this goal?
A class named Student is contained inside a namespace named Contoso.Registration. Another class
named Student is contained inside a namespace named Contoso.Contacts. You need to use both
classes within the same code file. What are two possible ways to achieve this goal? (Each correct
answer presents a complete solution. Choose two.)
Which describes the effect of applying the protected accessibility modifier to a method?
Which describes the effect of applying the protected accessibility modifier to a method?
Which code segment should you use to define the ShoppingCart class?
You want to create a class named ShoppingCart that has a type argument named TItem. The TItem
type argument must be a value type. Which code segment should you use to define the
ShoppingCart class?
which file should you store application configuration settings during deployment?
You create a class library named Contoso.Business. The library is used in a Windows application
named Contoso.Ui. In which file should you store application configuration settings during
deployment?
Which is the base class of all classes in the .NET Framework?
Which is the base class of all classes in the .NET Framework?
Which keyword should you use?
You want to raise a custom exception. Which keyword should you use?
What is the purpose of the app.config file?
What is the purpose of the app.config file?