Visual Studio Macro – Identifier to String Literal
- by João Angelo
When implementing public methods with parameters it’s important to write boiler-plate code to do argument validation and throw exceptions when needed, ArgumentException and ArgumentNullException being the most recurrent.
Another thing that is important is to correctly specify the parameter causing the exception through the proper exception…