Advertisement
Qrist

Chars to String

Mar 30th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.40 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Unknown
  4. {
  5.     class Program
  6.     {
  7.  
  8.         static void Main(string[] args)
  9.         {
  10.             char k = char.Parse(Console.ReadLine());
  11.             char j = char.Parse(Console.ReadLine());
  12.             char o = char.Parse(Console.ReadLine());
  13.             char[] a = { k, j, o };
  14.             string b = new string(a);
  15.             Console.WriteLine(b);
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement