I want to get line number of code which cause error. I have used several methods
public static int LineNumber(this Exception e) { int linenum = 0; try