C# Enums are not as 'tight' as you think(amazedsaint.blogspot.com)
submitted by
amazedsaint(835) 1 year, 7 months ago
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?
|category: C#
|Views: 16
tags:
C# another
Everyones tags:
Your Tags: