News for hackers. Stuff that matters.
Re:How to win the coding interview by winsome on Tuesday May 31, 2016 @09:56AM (#11806500)
Maybe for someone with no experience in the desired language and minimal access to docs, but for someone that professes a knowledge of C# 6 they ought to at least know about the `TimeSpan` class.

For anyone with the knowledge the person claimed to have, that code should boil down to something more like TimeSpan.Parse($"{hourStr}:{minStr}").TotalMinutes;

There are no comments on this comment yet.