developmentor - a developer services company				  
				      
   Modules

Basics


1. Which of the following does C# NOT support?
Classes
Arrays
Global methods
Structures

2. Is the name of the program entry point case sensitive?
Yes
No

3. Is the static modifier on the program entry point required?
Yes
No

4. Which of the following represent valid local variable declarations?
int x;
int x, y, z;
int x; int y; int z;
int x = 2, y = 4, z = x + y;
int x = 2 * 4;
All of the above
None of the above

5. Which of the following type conversions will be performed automatically by the compiler without requiring an explicit cast?
int to long
long to int
double to float

This material is excerpted from the Programming C# course offered by DevelopMentor.