📅  最后修改于: 2022-03-11 14:49:23.161000             🧑  作者: Mango
// I want to convert a string into a control name (c#, .net)
this.Controls.Find("variableName", true)[0]
// Change the variableName with the name of your string.
// Source: https://stackoverflow.com/questions/12055648/converting-string-to-a-control-name-in-c-sharp
// If this helped you, please leave a like :)