C# Programming Flashcards
1
Q
Write out an {empty} For loop
A
for [int i = 0, __.length> i,i++]
{ }
2
Q
Write out an {empty} conditional statement
A
if ( __ = = 0)
{ }
3
Q
Write out an {empty} Function that returns a string
A
static string functionName(parameter)
{ }
4
Q
Random number generation
A
Random rnd = new Random();
Int variable = rnd.next(min,max+1);
5
Q
Arrays
A