Retrieving the ASP.NET filename can be done in many ways. I've created this method in a few helper classes in some of the different jobs I have. public string GetCurrentPageFileName(){ …
Hiding Code From The Debugger
Sometimes there are methods in code that my development department knows are robust. There are no bugs in the code. This might be helper methods that have been tested time and time again. Therefore we …
Conditional Switch Statement with Enumeration String Value
As of recently I've had a few requests for how I handle a string representation of an Enumeration in a conditional switch. If you pass in a string into the switch statement without parsing the …
Continue Reading about Conditional Switch Statement with Enumeration String Value →