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!