<p>How can I get programmatic access to the call stack?</p>

[{'answer_id': 13438, 'author': 'Matt Hamilton', 'author_id': 615, 'author_profile': 'https://Stackoverflow.com/users/615', 'pm_score': 6, 'selected': True, 'text': '<p>Try <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.stacktrace.aspx" rel="noreferrer">System.Diagnostics.StackTrace</a>.</p>\n'}, {'answer_id': 13439, 'author': 'James Avery', 'author_id': 537, 'author_profile': 'https://Stackoverflow.com/users/537', 'pm_score': 3, 'selected': False, 'text': '<p>You can use the <code>StackTrace</code> and <code>StrackFrame</code> classes in <code>System.Diagnostics</code>.</p>\n'}, {'answer_id': 13621, 'author': 'Scott Dorman', 'author_id': 1559, 'author_profile': 'https://Stackoverflow.com/users/1559', 'pm_score': 0, 'selected': False, 'text': '<p>The right way is to use the <code>StackTrace</code> and <code>StackFrame</code> classes. Throwing an exception just to get the stack trace is completely misusing exceptions.</p>\n'}]
['https://Stackoverflow.com/questions/13434', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/100/']