In C# is there a shorthand way to write this:
public static bool IsAllowed(int userID) { return (userID == Personnel.JohnDoe || userID == Personnel.JaneD
Just another syntax idea:
return new [] { Personnel.JohnDoe, Personnel.JaneDoe }.Contains(userID);