10 TIPs - To Become a Good Developer/Programmer
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Marc
1.9k
205
46k
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