Boiko
Member
Hello I am trying to write just a simple program to show your first and second name, what's wrong with it? Thanks!
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace next_lesson { class Program { static void Main(string[] args) { Console.WriteLine("Please enter your first and second name!"); string userValue = Console.ReadLine(); string myFistName = ""; string mySecondName = ""; { Console.WriteLine("Hello ", userValue = myFistName + mySecondName); Console.ReadLine(); } } } }
Last edited by a moderator: