C# Flashcards
1
Q
A function (C#)
A
A piece of code that executes according to the code. Sometimes called events:
“
private void button1_Click(object sender, EventArgs e)
{
XXXXXXXXXXXXXXXx
}
“
2
Q
when the equal sign (=) is used in programming it is called?
A
Assign sign
3
Q
Assigning text in a box:
A
textBox1.Text = “insert text here”;
4
Q
Creating a new variable in a console application:
A
int NameOfTheVariable = 8
8 could be any number. When you want to use the variable later, refer to it with the name you made, in this case “NameOfTheVariable”.
5
Q
Making a number appear in a console application:
A
Console.Write(3)