Check out example codes for "C# previous method". It will help you in understanding the concepts better.
Code Example 1
using System.Diagnostics;
// Get call stack
StackTrace stackTrace = new StackTrace();
// Get calling method name
Console.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
Learn ReactJs, React Native from akashmittal.com