yes one try catch have many catch statement
using System;
class MyClient
{
public static void Main()
{
try
{
throw new DivideByZeroException( Invalid Division );
}
catch(DivideByZeroException e)
{
Console.WriteLine( Exception );
}
Catch(Exception ex)
{
Console.writeline(Ex.message);
}
Console.WriteLine( LAST STATEMENT );
}
}
we can add following exception
System.OutOfMemoryException
System.NullReferenceException
System.InvalidCastException
System.ArrayTypeMismatchException
System.IndexOutOfRangeException
System.ArithmeticException
System.DevideByZeroException
System.OverFlowException