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;
9 Cards in this Set
- Front
- Back
What is the range and alias for a signed byte?
|
SByte
-126 to 127 |
|
What is the range and alias for an unsigned byte?
|
Byte
0 to 255 |
|
What is the range and alias for a short integer
|
Short
-32768 to 32767 |
|
Declare a boolean value type in C# and VB
|
vb
dim b as boolean = false c# bool b = false; |
|
Declare a Boolean value type as nullable
|
vb
dim b asnullable(of boolean) = nothing c# nullable<bool> b = null |
|
User defined types are called ______
|
STRUCTURES
|
|
Define a structure and its constructor.
|
vb:
structure cycle 'constructor public sub new() end sub end structure c# struct cycle { \\constructor public cycle() { } } |
|
structures should meet these 4 criteria:
|
logically represents a single value
has an instance size less than 16 bytes will not be changed after creation will not be cast to a reference type |
|
how to create enumerations
|
vb
enum titles as integer mr ms mrs end enum c# enum titles : {mr, ms, mrs} |