using System;
using System.ComponentModel;
using System.Threading;
namespace ThreadExample
{
class Program
{
static void Main(string[] args)
{
BackgroundWorker bw = new BackgroundWorker();
bw.DoWork += delegate(object sender, DoWorkEventArgs ea)
{
Console.WriteLine("ALLOU YOBA ETO TI?");
Thread.Sleep(1000);
};
Console.ReadLine();
}
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29tcG9uZW50TW9kZWw7CnVzaW5nIFN5c3RlbS5UaHJlYWRpbmc7CgpuYW1lc3BhY2UgVGhyZWFkRXhhbXBsZQp7CiAgICBjbGFzcyBQcm9ncmFtCiAgICB7CiAgICAgICAgc3RhdGljIHZvaWQgTWFpbihzdHJpbmdbXSBhcmdzKQogICAgICAgIHsKICAgICAgICAgICAgQmFja2dyb3VuZFdvcmtlciBidyA9IG5ldyBCYWNrZ3JvdW5kV29ya2VyKCk7CiAgICAgICAgICAgIGJ3LkRvV29yayArPSBkZWxlZ2F0ZShvYmplY3Qgc2VuZGVyLCBEb1dvcmtFdmVudEFyZ3MgZWEpCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKCJBTExPVSBZT0JBIEVUTyBUST8iKTsKICAgICAgICAgICAgICAgIFRocmVhZC5TbGVlcCgxMDAwKTsKICAgICAgICAgICAgfTsKICAgICAgICAgICAgQ29uc29sZS5SZWFkTGluZSgpOwogICAgICAgIH0KICAgIH0KfQ==