1) viewing metadata2) performing type discovery3) late binding to methods and properties4) creating types at runtime
Oops!
Check
Okay!
Check
15
What is an abstract class?
class that cannot be instantiated; a class that must be inherited and have the methods overridden; basically a blueprint for a class without ANY imple...
Oops!
Check
Okay!
Check
15
When should you call the garbage collector in .NET?
As a good rule, you should NOT call the garbage collector. However, you could call the garbage collector when you are done using a large object (or se...
Oops!
Check
Okay!
Check
15
What is the .NET Framework?
a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperabili...
Oops!
Check
Okay!
Check
15
When is reflection useful?
1) When you have to access attributes in your program's metadata.2) For examining and instantiating types in an assembly3) For building new types at r...
Oops!
Check
Okay!
Check
15
If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside...
Oops!
Check
Okay!
Check
seesaw
Swap points!
Oops!
gift
Win 20 points!
Okay!
rocket
Go to first place!
Okay!
thief
Give points!
5
10
15
20
25
15
What is the heap?
Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap t...
Oops!
Check
Okay!
Check
15
How do you convert a value-type to a reference-type?
boxing
Oops!
Check
Okay!
Check
seesaw
Swap points!
Oops!
shark
Other team loses 25 points!
Okay!
fairy
Take points!
5
10
15
20
25
lifesaver
Give 25 points!
Oops!
lifesaver
Give 25 points!
Oops!
fairy
Take points!
5
10
15
20
25
shark
Other team loses 10 points!
Okay!
banana
Go to last place!
Oops!
15
What is the goal of JIT?
to reach or surpass the performance of static compilation, while maintaining the advantages of bytecode interpretation: Much of the "heavy lifting" of...
Oops!
Check
Okay!
Check
15
What is a multicast delegate?
derives from System.Delegate; its a delegate that points to several methods. Multicast delegation is a mechanism that provides functionality to execut...
Oops!
Check
Okay!
Check
15
What is the significance of Application.Idle?
it's how message processing is done on the application's UI thread; has become a convenient place to take care of application housekeeping chores asyn...
Oops!
Check
Okay!
Check
15
Are delegates immutable?
yes; once you've created a delegate instance, nothing about it can be changed; makes it safe to pass around references to delegate instances and combi...
Oops!
Check
Okay!
Check
15
What is an interface?
defines a set of properties, methods, and events; does not provide implementation. They are implemented by classes or other interfaces, and defined as...