.NET Compact Framework -- how to get method name?
Posted on 2004-08-09
Situation: When catching errors in a C# .NET Compact Framework, I log the name of the method and what error occured into a SQLCE table for review. As of now I have to manually enter the name of the method into a string to be saved into the table for later analysis.
So the question is: Using C# and the .NET Compact Framework -- how does one programatically retrieve the current method name? I know this is possible in regular windows form development within .NET -- but is it even possible in the Compact Framework?