C# Enums are not as 'tight' as you think

added by amazedsaint
10/21/2010 11:54:02 AM

1 Kicks, 91 Views

Consider the following code, where you accept a caller key and a token request from a caller, to issue a security key for further requests? Note that we also have a minimal exclusion check, where we prevent certain callers from getting the admin permission. Now, the question. What is wrong with the code below?


0 comments