Contact Us
Search:
Home
|
Articles
|
Pocket PC
|
Certification
|
UML
|
Resources
Book Reviews
Book Reviews
C# Color Coder
C# Color Coder
.NET Quiz
Take the .NET Quiz!
About
About This Site
Contact Us
.NET Quiz
1 . What is the full version number of .NET RTM?
1.0.3700
1.0.3705
1.0.3715
1.0.3716
2 . What two methods for initializing data are used in SOAP extensions?
OnInitialize and Initialize
GetInitializer and Initialize
InitializeService and InitializeMethod
InitializeService and Initializer
3 . To modify a SOAP message in a SOAP extension, what method must your override?
ChainStream
ReceiveMessage
ProcessMessage
SoapMessage
4 . Pick the command line that would result in the C# compiler generating an XML documentation file:
csc /doc:HelloWorld.xml HelloWorld.cs
csc /doc /docfile:HelloWorld.xml HelloWorld.c
csc /doc /out:HelloWorld.xml HelloWorld.cs
csc /xml HelloWorld.cs
5 . In C#, what character is used to indicate a verbatim string literal?
@
!
"
#
6 . C# was developed by a small team led by which two Microsoft distinguished engineers?
Anders Hejlsberg and Scott Wiltamuth
Doug Seven and Donny Mack
Scott Guthrie and Mark Anders
Mark Lucovksy and Peter Spiro
7 . Which of the following is not a method of System.Object?
GetType
ToString
Equals
Clone
8 . What is the term used to describe the process the Runtime uses to find an assembly?
Locating
Probing
Searching
Resolving
9 . When creating a C# Class Library project, what is the name of the supplementary file that Visual Studio.NET creates that contains General Information about the assembly?
AssemblyInfo.xml
AssemblyInfo.cs
AssemblyInformation.cs
AssemblyAttributes.cs
10 . All types derive from a single base type called:
System.Base
System.Object
System.Root
System.Type
11 . A refernce to a reference-type instance requires how many bytes?
2 bytes
4 bytes
8 bytes
16 bytes
12 . Which interface allows a collection to be navigated using the foreach statement?
INavigator
ICollection
IEnumerator
IEnumerable
13 . In C#, which of the following is not a valid C# jump statement?
jump
goto
return
throw
14 . In the .NET runtime, how large is the overhead for a reference-type instance?
2 bytes
4 bytes
8 bytes
16 bytes
15 . What does the acronym CLS stand for?
Common Language Standard
Common Language Specification
Component Language Standard
Component Language Specification
16 . When an integral literal is valid for several possible integral types, the default type chosen goes in which order?
uint, int, ulong, long
long, ulong, int, uint
ulong, long, uint, int
int, uint, long, ulong
17 . What is the comment syntax for C#'s XML-based documentation?
/** and **/
//#
///
//*
18 . Which of the following is the C# escape character for Null?
\n
\0
\f
\v
19 . Which C# statement is actually a shortcut for calling the Enter and Exit methods of the Monitor class?
mutex
lock
semaphore
thread
20 . What is the exception that is thrown when there is an attempt to dynamically access a method that does not exist?
MissingMethodException
TypeLoadException
MethodLoadException
MethodAccessException
Questions, comments, or suggestions? Contact us at
info@dotnetcoders.com
© 2000-2003
.netCoders
. All rights reserved.
Terms of Use