Prevent negative numbers in C#?
<p>Is there  c# code that accept only positive numbers and does not accept negative numbers?</p>

<p>Like</p>

<pre><code>Console.WriteLine("Write number"); 
Console.ReadLine();
</code></pre>

<p>i read tutorials but still not helped</p>

<p>and now i don't have any idea how to prevent negative numbers.</p>
