예제 #1
0
 public static bool TryParse(string s, out Complex result)
 {
     try
     {
         result = ComplexMath.FromString(s);
         return(true);
     }
     catch (ArgumentException)
     {
         result = new Complex();
         return(false);
     }
 }