I saw this cool post from Scott Hanselman on creating a OData API for stackoverflow. I use LINQPad more often than anything. And sometimes when I am not very busy, I also look for unanswered questions in stackoverflow. I have been playing around with Reactive Extensions. FYI LINQPad 4.0 supports Rx. So I thought how cool will be it if I have to look for unanswered “windbg” questions from stackoverflow , so that I could answer them. And here is the query
var windbgQuestions = from time in Observable.Interval(TimeSpan.FromMinutes(1)) from post in Posts.ToObservable() where post.AnswerCount == 0 && post.Tags.Contains("windbg") select post.Body; windbgQuestions.Dump();
I know this will not work now. But how cool it is to combine these frameworks write very succinct code to get what we want, without having to jump through hoops.