How would one display what line number caused the error and is this even possible with the way that .NET compiles its .exes?
If not is there an automated way for Exc
string lineNumber=e.StackTrace.Substring(e.StackTrace.Length - 7, 7);