title: Validate phone numbers in c# (Console)
body: <p>Can I restrict the phone numbers in my console app without regular expressions?
  I have this code, but it doesn´t work with international numbers, begining with 00.</p>
  
  <pre><code>   static public bool CheckPhoneNumb (string phoneNumber)
      {
          long lphoneNumber;
          return ((phoneNumber.Length &gt;= 9) &amp;&amp; phoneNumber.Length &lt;= 15) &amp;&amp;
                  (long.TryParse (phoneNumber, out lphoneNumber))) ? true : false;
      }
  </code></pre>
  
  <p>Thnks.</p>