user-input

  1. Elkish

    Resolved Having an input problem

    I'm having a small bit of trouble with this line of code: /*the first three lines had info abt the website*/ using System; public class HelloWorld { public static void Main(string[] args) { string name = Console.ReadLine(); if (name = "John"); {Console.WriteLine("Hello")...
  2. Programmable Physics

    Question How to remove/delete a string that has been just entered by a user and read by console from Console Interface Screen?

    I want to delete a user input if a condition is not met, and keep the Console interface same and intact without using Console.Clear() or goto menu; I want to delete whatever was entered by the user if a condition is not met. How can I do that? If I use Console.Clear() or goto menu; the same...
Back
Top Bottom