While working on a question / answer program for the school, it occurred to me that I could use Console.Clear() to destroy everything on the screen. I wonder if I can use Console.Readline(valueOne) and then only output the answer without a question. If I asked only one question, Console.Clear works.
I have a few questions with values ββother than links to remove, if possible. I want to leave questions and display only a few answers. I think that if I save the answers, I could use Console.Clear() and then just Console.WriteLine() with three variables. I could do something like this:
Console.WriteLine("Value 1 is: {0:c}" + "Value 2 is: {1:c}" + "Value 3 is: {2:c}, valueOne, valueTwo, valueThree).
The problem is simpler with links, as values ββare stored and retrieved. If I just use methods to pass by value and output the value, main() will not refer to these values ββfor cleaning and output again. This is why I am wondering if I can just ask a question and then delete the line and print only the answer (or answers).
I'm just trying to figure out the possibilities and not trying to tune the program. I like to know the possibilities of outputting the value from the link and the value without additional output questions.
c #
bad boy Jan 20 '12 at 19:26 2012-01-20 19:26
source share