SOLUTIONS(RATED A)
MessageBox.Show("hi"); - ANSWERa line of code that shows the string hi in a message
box
lstList.Items.add("hi") - ANSWERa line of code that will add the srting hi to the items in a
listbox
stream writer - ANSWERthis is an example of a ____ (2 wrods)
System.IO.StreamWriter.Outputfile;
Outputfile=System.IO.File.OpenText("path to file")
Names.Close(); - ANSWERcode that will close a file called Names
black box - ANSWERa method is like a ____ (2 words) you give it certain ingredients
and it gives you a finished product but you don't know how to gets the product
form - ANSWERmethods are always at _____ level
reference - ANSWERthe ____ above a method refers to how many times it has been
used
clear data(); - ANSWERcode using a void method called clear data
int d, e, f
xvalue=calculatex(d, e, f) - ANSWERan example of using the code method below
public int calculatex(int a, int b, int c)
{
int x=(a*b)-c;
return x;
}
true - ANSWER(t or f) a void method may modify things but will return nothing
reference, value - ANSWERin this method a and b are passed by ____ whereas c is
passed by ____
public void multiply(ref a. ref b, int c)
{
a=a*c
b=b*c
}