Knowing When to Reflect With Caller Info Attributes

added by DotNetKicks
11/27/2017 3:09:23 PM

2 Kicks, 255 Views

If you've been around C# long enough, you've probably had a need at one time or another to figure out some information about code that's being executed. It might be a method name, the file being executed, or even more specific details like the line number. These things can be