Exemple #1
0
	static int trycatch (voi f) {
		try {
			f ();
			return 1;
		}
		catch (System.OverflowException e) {
			System.Console.WriteLine (e);
			return 0;
		}
	}
 static int trycatch(voi f)
 {
     try {
         f();
         return(1);
     }
     catch (System.OverflowException e) {
         System.Console.WriteLine(e);
         return(0);
     }
 }