Error!
Success!

Implementing baked-in Ruby syntactic sugar via LINQ

0
kicks

Implementing baked-in Ruby syntactic sugar via LINQ  (Unpublished)

The flexibility and power of LINQ and extension methods in .NET 3.0 make it easy to emulate some of the baked-in functions of the Ruby language. Here's a short example of how to implement my fav Ruby method: to_s! using System.Linq; public static class RubyShizzle { public static string to_s(this object source) { return source.ToString(); } }


Kicked By:
Drop Kicked By: