Код: Выделить всё
public string ExampleFunction(string Variable) {
return something;
}
string WhatIsMyName = "Hello World";
string Hello = ExampleFunction(WhatIsMyName);
Код: Выделить всё
Variable.OriginalName.ToString() // == "WhatIsMyName"
Подробнее здесь: https://stackoverflow.com/questions/721 ... a-function
Мобильная версия