Which method is required in each C# program, and what parameters does it take?
What are the three types of inline comments available in C#? Which can be exported?
What is a primitive?
What is printed by the following statements?
int grade=78; bool pass = (grade >=70) ? true : false; Console.WriteLine(pass);
Which loop construct is executed at least once?
How do a break and a continue statement differ?
Given the following variables
char c= 'c'; double d= 120.0D; int i=10; string s="Rodin";
which of the following fails to compile?
c = c+ i;
s += i;
c += s;
d += i;
Describe a potential drawback to using the + operator for concatenation. What is the recommended alternative?
Name the two base classes from which all value types inherit.
What prime value is printed by the final statement in this code?
int[] primes = new int[6] {1,3,5,7,11,13}; int[] primesClone = new int[6]; Array.Copy(primes,1,primesClone,1,5); Console.WriteLine("Prime: "+primesClone[3]);