TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
wadeontheweb
NA
19
0
Syntax for referring to variable name by string?
Feb 29 2004 9:09 PM
If I have member called: this.m_yodasShoeSize and I want to refer to it by a string with something like: this."m_" + "yodasShoeSize" is there syntax in c# for that. I expected something like: this["m_" + "yodasShoeSize"] or this[eval("m_" + "yodasShoeSize"); Also, is there a name for what I'm talking about here? I'm not sure what to call this feature, although I have seen it available in a few languages.
Reply
Answers (
3
)
the value of e
Date property and CDate function