I found that Rx framework looks really useful for async operations but i cannt understand how can i use it for download a lot of pages.
i am trying write something like this
var en = Enumerable.Range(0,100).Select(x => WebRequest.Create("http://google.com")).Select(x => Observable.FromAsyncPattern<WebResponse>(x.BeginGetResponse,
x.EndGetResponse)().Subscribe(r => Console.WriteLine(r.ContentLength)) ).ToList();
Ofcourse it doesnt work. How to do it right?