Answers for "return to previous method c#"

C#
2

C# previous method

using System.Diagnostics;
// Get call stack
StackTrace stackTrace = new StackTrace(); 
// Get calling method name
Console.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
Posted by: Guest on June-05-2020

Code answers related to "return to previous method c#"

C# Answers by Framework

Browse Popular Code Answers by Language