To handle exception in c# we use
try
{
//code
}
catch(Exception ex)
{
// Message to show exception.
}
Type: Posts; User: anil7181; Keyword(s):
To handle exception in c# we use
try
{
//code
}
catch(Exception ex)
{
// Message to show exception.
}
Method overloading means "add" more behavior.
Method overriding means "Change" existing behavior.