• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/3

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

3 Cards in this Set

  • Front
  • Back
What is a static class?
The Console class is actually a static
class, which means all its members are static. You never actually create instances of
a Console—one console is shared across the whole application.
Value types and Reference types.
The fundamental difference between value types and reference types is how they are
handled in memory.

Value types are copied by value
Reference types are copied by reference (ref pointer gets copied)

Any type which needs to live longer will be allocated on heap.
More on value types and ref types...
The content of a value type variable or constant is simply a value.

The content of a reference-type variable or constant is
a reference to an object that contains the value.

A reference can be assigned the literal null, indicating that the reference points to no object.

A value type cannot ordinarily have a null value.

Value-type instances (and object references) live wherever the variable was declared.

If the instance was declared as a field within an object, or as an array element, that
instance lives on the heap.