Does anyone know how to get the name of a declared variable. For instance:
Public Function returnName(variable as integer) as string
Dim [string] as string = string.empty
[string] = variable.name
return [string]
End Function
Ive seen it attempted a few times, most saying its impossible, explaining that IL does not store the names of variables passed, however it seems reasonable to believe there is some tangible pointer or reference that could be traced to a name. Can anyone give me some heading on this.
Why? This is purely personal research.