Main()
public static void Main() { try { // your normal code here } catch(Exception ex) { System.IO.File.WriteAllText("error.txt", ""+ex); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)