using System;
using System.Linq;
using System.Text.RegularExpressions;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
//4down voteaccepted
//You can use a regular expression for that. Example:
string test = @"this i""s a"" test";
Console.WriteLine(test);
string[] parts = Regex.Matches(test, @"(""[^""]*""|[^\s])+")
.Cast<Match>()
.Select(m => m.Value)
.ToArray();
foreach (string s in parts) Console.WriteLine(s);
}