Can inner classes have static members?
Yes
No
In specific conditions
Not sure
Can a class be declared "synchronized"?
Which of these statements correctly declares a two-dimensional array in C#?
int[,] testArray;
int[][] testArray;
int[2] testArray;
System.Array[2] testArray;
If a method is marked as protected internal who can access it?
Classes that are both in the same assembly and derived from the declaring class.
Only methods that are in the same class as the method in question.
Internal methods can be only be called using reflection.
Classes within the same assembly, and classes derived from the declaring class.
What is boxing?
Encapsulating an object in a value type.
Encapsulating a copy of an object in a value type.
Encapsulating a value type in an object.
Encapsulating a copy of a value type in an object.
Which compiler switch creates an xml file from the xml comments in the files in an assembly?
/text
/doc
/xml
/help
What is a satellite Assembly?
A peripheral assembly designed to monitor permissions requests from an application.
Any DLL file used by an EXE file.
An assembly containing localized resources for another assembly.
An assembly designed to alter the appearance of an application.
What is a delegate?
A strongly typed function pointer.
A light weight thread or process that can call a single method.
A reference to an object in a different process.
An inter-process message channel.
How does assembly versioning in .NET prevent DLL Hell?
The runtime checks to see that only one version of an assembly is on the machine at any one time.
.NET allows assemblies to specify the name AND the version of any assemblies they need to run.
The compiler offers compile time checking for backward compatibility.
It doesn't
In the NUnit test framework, which attribute must adorn a test class in order for it to be picked up by the NUnit GUI?
TestAttribute
TestClassAttribute
TestFixtureAttribute
NUnitTestClassAttribute