kirililchev3

String Concatenated

May 26th, 2018
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. using System;
  2.  
  3. namespace P06_StringsAndObjects
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             string str1 = Console.ReadLine();
  10.             string str2 = Console.ReadLine();
  11.             string concatenated = String.Concat(str1, " ", str2);
  12.             Console.WriteLine(concatenated);
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment