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
Sigsby Rusk
NA
1
1.8k
using indirection to create an object reference from a string
Jan 16 2012 1:14 PM
I have a C# program with 4 files embedded in the Properties.References.
I need to access one of the files from a filename passed in to a function. What is the syntax for developing the "Properties.References.filename" access?
Thanks.
Perhaps this was not clear. What I have is like:
private void setPalette(string filename)
{
byte[] Palette = Properties.References.??????? ;
}
Where the content of filename is "Palette_1" for example, one of the byte arrays in References.
I need to use the parameter filename to select the desired array.
Reply
Answers (
1
)
Conversion of char string into int
How Can I Auto Tick To "agree CheckBox"