public static void Main()
throw new ThreadInterruptedException();
Console.WriteLine("Exception");
var inData = "Самая лучшая IDE - это Microsoft Visual Studio. Ведь это единственное, что у них работает без нареканий. ";
var statData = inData.Split(new []{ ' ' }, StringSplitOptions.RemoveEmptyEntries).GroupBy(id => id, id => new Word {
foreach(var w in statData)
Console.WriteLine("{0} - {1}", w.Key, w.Count());
public long Count { get; set; }
public string Value { get; set; }