c# minimum of two numbers if one or both is greater than 0
<p>The logic I'm looking for is if either of the numbers are >= 0 (which they don't have to be), then return the minimum of the two that is also greater than 0. The code I've written for it is so ugly that I'm ashamed to post it! </p>

<p>EDIT: 
Samples 
1, -1 => 1
5,6 => 5
-1,-1 => 0</p>

<p>(if both are less than 0, return 0)</p>
