I added this extension method to do this, but I'm thinking that arguably the "right" way to do this is to have an implicit conversion in place. Then I think I could something like this:
DoFunCalculations(0..100);
static void DoFunCalculations(Range<int> range)
{
// Do stuff with Range...
}
I added this extension method to do this, but I'm thinking that arguably the "right" way to do this is to have an implicit conversion in place. Then I think I could something like this: