thanks for the links trackster, they helped out, now for my latest problem, i have a string called vehicle1, i also have the strings make1, model1, year1, rego1
i would like vehicle1 to equal
make1, model1, year1 and rego1, this is the line ive typed
GlobalVariables.vehicle1 = Convert.ToString(Console.WriteLine("{0}, {1}, {2}, {3}", GlobalVariables.make1, GlobalVariables.model1, GlobalVariables.year1, GlobalVariables.rego1));
i keep getting an error message
cannot convert from 'void' to 'object' anyone know how i can solve this?
(i put GlobalVariables in front of each variable name because i have defined all the variables in a class called GlobalVariables(), this allowing me to have, you guessed it, global variables)