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!
MarcPosted May 7, 2015, 8:15 AM
ramya bharathPosted Apr 15, 2015, 5:01 PM
But why can't you use create a dictionary instead of enum