dotnetomaniak.pl

Strona głównaSztuka programowania

New year, new me… Just kidding, no running or yoga plans, but I decided to have a (temporary) break with ‘C# attributes you should know’ series and start with a brand new one – C# facts that somehow surprised me. For the first article, I will show you how (friendly looking, always helpful, good guy...) enum can become an asshole. An asshole who will steal your precious time! One enum value passed to a method, other value received! What’s goin’ on?

Dziel się z innymi:
C# stuff nobody told you – enum is a b*tch! – A Girl Among Geeks