ProgrammingDotnetC# SnippetOn this pageC# SnippetGet Caller method name (new System.Diagnostics.StackTrace()).GetFrame(1).GetMethod().Name Dotnet Parallel [assembly: LevelOfParallelism(2)]