DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# string to variable name
Well
,
you can
use
Type
.
GetProperty
(
name
)
to
get
a
PropertyInfo
,
then call GetValue
.
PREVIOUS
NEXT
Tagged:
#string
#variable
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit