For Every Question
Save
Terms in this set (28)
How do you get a message box to MessageBox.Show(" A message " or variable that's a
show string);
How do you add an item to list box listname.Items.Add(" A message " or variable that's a
string);
how do you clear a list box listname.items.clear();
what's the format of a for loop For (initialization; condition; increment)
{
}
What is the format of a while loop While (condition)
{
}
what is the format of a do while loop do
{
}
While (condition)
How do you open a file to be read StreamReader C#name
C#name = File.OpenText("textfilename.txt")
How do you read a line C#name.Readline()
How do make a text file to be written StreamWriter C#name
C#name = File.CreateText("textfilename.txt")