Advertisement
KodingKid

C# first and second name input

Apr 3rd, 2021
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. string firstName = Console.ReadLine();
  2. string secondName = Console.ReadLine();
  3. Console.WriteLine("Your first name is... " + firstName);
  4. Console.WriteLine("Your second name is... " + secondName);
  5. //Console.WriteLine = Print
  6. //Console.ReadLine = Input
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement