Senin, 25 Oktober 2010
C# Enums - A bit of Extra Caution when working with Enums
Straight to a question for you.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? public enum SecurityToken { Admin,
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar