i have .net 4.0 application in wpf . application is running fine but when i close the application by using exit button. it throws the exception after stopping the debugging. the exception is "An unhandled exception of type 'System.StackOverflowException'
occurred in WindowsBase.dll ".
the code in exit button is
private void btnExit_Click(object sender, RoutedEventArgs e)
don't know from where it throws the exception and why ??
View Complete Post