Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConcatNames
- {
- class Program
- {
- static void Main(string[] args)
- {
- string firstName = Console.ReadLine();
- string secondName = Console.ReadLine();
- string delimiter = Console.ReadLine();
- Console.WriteLine($"{firstName}{delimiter}{secondName}");
- // Console.WriteLine(firstName + delimiter + secondName);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement