Ruby-Like "times" method #ruby #csharp #linq #vb #cpp

Here's the implementation of the Ruby-like "times" method that executes a block of code (n) times.