1/21
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
object
Dog MYDOG = new Dog();method
void BARK() {
Console.WriteLine("Woof!");
}field
public int AGE = 5;property
public int AGE {
get;
set;
}instance
Dog PUPPY = new Dog();constructor
public Dog() {
AGE = 1;
}parameter
void Speak(string MESSAGE) {
Console.WriteLine(MESSAGE);
}argument
Speak(GREETING);type
string NAME = "Rex";value
int LEVEL = 10;data type
bool ISHAPPY = true;inheritance
class Puppy : ANIMAL { }exception
throw NEWERROR;loop
for(int i = 0; i < 3; i++) {
COUNT++;
}array
int[] NUMBERS = { 1, 2, 3 };list
List<string> NAMES = new List<string>();statement
AGE = 5;block
{
RUN++;
}scope
{
int LOCAL = 1;
}loop iteration
foreach(var ITEM in ITEMS) {
USE(ITEM);
}comment
// NOTEvariable
int HEALTH = 100;