Advertisement
Guest User

Untitled

a guest
Jun 1st, 2015
346
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. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text.RegularExpressions;
  5.  
  6. class Problem1
  7. {
  8.     static void Main()
  9.     {
  10.         List<string> strings = Console.ReadLine().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).ToList();
  11.         Console.WriteLine("Invalid input parameters.");
  12.         Console.Write("[{0}]", string.Join(", ", strings));
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement