title: Print the source filename and linenumber in C#
body: <p>Is there any way to retrieve the current source filename and linenumber in C# code and print that value in the console output? Like <strong>LINE</strong> and <strong>FILE</strong> in C?</p>
  
  <p>Please advise.</p>
  
  <p>Many thanks</p>