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 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!

ramya bharathRank #3,780 · 391 reputationPosted Apr 15, 2015, 1:01 PM EDT
But why can't you use create a dictionary instead of enum
Marc176 reputationPosted May 7, 2015, 4:15 AM EDT