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
Marc
NA
205
54.1k
Enums
Apr 15 2015 1:54 PM
What I am trying to figure out is how to create this enum list to pass to the parameters?
public MyClass
{
public enum BypassStuff
{
Site,
HostName
}
private static void LoadSettings(List <BypassStuff> passedBS)
{
}
}
I have read that enums are suppose to only pass as value types and not reference types. I am trying to bypass values from my application that are normally programmatically set when my server is initialized. So is there a way I can pass a string value to the enum list?
thanks in advance!
Reply
Answers (
2
)
how to generate IO paterns for a windows form application ?
rdlc background image problem