Let me use the following example to explain my question:
public string ExampleFunction(string Variable) { return something; } string WhatIsMyName = "
System.Environment.StackTrace will give you a string that includes the current call stack. You could parse that to get the information, which includes the variable names for each call.