C# Flashcards
REFERENCE types in C#
automatically support being set null
VALUE types do
NOT automatically support being set to null and require an actual value, they are stored in the STACK
The QUEUE is a
FIRST IN, FIRST OUT collection of elements
The STACK utilizes a
LAST IN, FIRST OUT procedure
To declare a variable,
you do not need a value
To initialize a variable,
you DO need to assign it a value
PARAMETERS
are optional list of keywords that give certain qualities to a method or member
The IF statements
do not need an else statement
switch statements increase
and are more optimized for a larger number of conditions
Unary
Binary, and Ternary
=
is not a relational operator!
For loops have 5 parts.
(for keyword, initializer, conditional, increment, body)
CCR =
Clear, Concise, Readable
An Inline If statement is also called a:
Ternary Operator
What are the correct types of Arrays in C#?
Single-Dimensional Arrays, Multidimensional Arrays, Jagged Arrays