How to read user input in c# console
I guess this should be very simple to you guys, but very difficult to me because im new to c#. I have a simple "pacient" class. public class Pacient { public Pacient(string _name, string _lastName, DateTime _date, string _phone, string _email) { name = _name; lastname = _lastName dateOfBirth = _date; phone_num = _phone; email = _email; } private string name; public string Name { get { return name; } set { name = value; } } etc... Now i want to read the input user types in console... How do i do that? It works with pre-typed names, like shown bellow.. Pacient John = new Pacient("John", " Doe ",