title: Cannot evaluate expression because the current thread is in a stack overflow state" at the commented line
body: <p>I created a c# SNMP application using the <a href="http://www.codeproject.com/Articles/12993/SNMP-library?fid=265779&amp;df=90&amp;mpp=25&amp;noise=3&amp;prof=False&amp;sort=Position&amp;view=Normal&amp;spc=Relaxed&amp;fr=1#xx0xx" rel="nofollow">SNMP library</a>.</p>
  
  <p>But then I get an error <em>"<strong>Cannot evaluate expression because the current thread is in a stack overflow state"</em></strong> at the commented line. </p>
  
  <pre><code>try
          {
              UdpAddress udp = new UdpAddress(args[1]); //error occur at this line
              SnmpVersion ver = SnmpVersion.SNMPv1;
              //some other snmp codes
          }
  </code></pre>
  
  <p>this codes declare the args variable:</p>
  
  <pre><code>public Hashtable getValues(SNMPObject[] SNMPObjects)
      {
  
          int nbrArgs = 5 + 2 * SNMPObjects.Length;
          string[] args = new string[nbrArgs];
          args[0] = "get";
          args[1] = this.getIPAddress();
          args[2] = "-Dl0"; //don't make debug
          args[3] = "-c" + this.getCommunityRead(); //community read
          args[4] = "-C" + this.getCommunityWrite(); //community write
          int i = 5;
          foreach (SNMPObject mySNMPObject in SNMPObjects)
          {
              args[i] = "-o";
              args[i + 1] = mySNMPObject.getOID();
              i = i + 2;
          }
  
          //lancer la requête
          Hashtable htResult = Manager.makeOrder(args);
          return htResult;
      }
  </code></pre>
  
  <p>when I debug by line, the args[] passed as:</p>
  
  <pre><code>[0] = "get"  
  [1] = "10.0.0.120"  
  [2] = "-Dl0"  
  [3] = "-cpublic"  
  [4] = "-Cpublic"  
  [5] = "-o"  
  [6] = "1.3.6.1.2.1.1.5.0"  
  [7] = "-o"  
  [8] = "1.3.6.1.2.1.2.2.1.16.1"
  </code></pre>