Extension Method to Imitate Times() in Ruby(dpatrickcaldwell.blogspot.com)
submitted by
tncbbthositg(266) 3 years ago
The title says it all. This extension method allows you to pass an action to int.times and have the action executed than number of times. Ruby is really cool and extension methods are also really cool. Using extension methods to imitate the flexibility and fluency of ruby can make life so much easier.
|category: C#
|Views: 11
tags:
C# another
Everyones tags:
Your Tags: