Question: I am using C# having come from a Java background - I have an exception but it does not tell me the line number - Just the method name.

Is that usual?? Is it down to Debug / Release builds??

Answer: 
Line numbers should be available when compiling in Debug as long as you keep the `pdb` files in the application directory. 

This will also work in Release if you enable PDB creation, as per [Justin's answer](https://stackoverflow.com/questions/2191957/c-exceptions-not-giving-line-numbers/2191986#2191986).

If you are interested, more information can be found at [PDB Files](https://msdn.microsoft.com/en-us/library/yd4f8bd1(vs.71).aspx) (MSDN)
Make sure the PDB files of your application are deployed with the application. The PDB files are the files that is used by the CLR to determine the source code line numbers.