question about casting a string to button
C#
3
Posts
3
Posters
0
Views
1
Watching
-
You can create a type from a string with Type.GetType(typeName)[^], if that's what you mean. Otherwise, since you can't exactly cast a type specifier into an instance, a little more info would be useful. -- I've killed again, haven't I?
-
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook