Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- namespace TestApp
- {
- class Program
- {
- static void Main(string[] args)
- {
- List<String> data = new List<string>();
- while (true)
- {
- string command = Console.ReadLine();
- if (command == "Visual Studio crash")
- {
- break;
- }
- ;
- data.AddRange(command.Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries));
- }
- for (int i = 0; i < data.Count-2; i++)
- {
- string word = "";
- if (data[i] == "32656" && data[i + 1] == "19759" && data[i + 2] == "32763")
- {
- int length = int.Parse(data[i + 4]);
- for (int j = 0; j < length; j++)
- {
- word += (char) int.Parse(data[i + 6 + j]);
- }
- Console.WriteLine(word);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement