Monthly Archives: November 2012

RPSLS — Rock Paper Scissors Lizard Spock

Let’s start with a tweet from earlier today : Anyone bored and have an android phone?play.google.com/store/apps/det… — Leonard Hofstadter (@TheRealLeonardH) November 22, 2012 If you follow the link, you’ll get to a Google Play application that allows you to play … Continue reading

Posted in Uncategorized | Comments Off

Cartesian products in LINQ (fluent syntax)

Have you ever tried to combines sequences in order to build Cartesian products in LINQ ? This is really easily achieved using the query expressions syntax, writing for instance : var ints = Enumerable.Range(1, 4); var longs = Enumerable.Range(1, 3).Select(i … Continue reading

Posted in LINQ | Tagged , , | Comments Off