.NET FCL enum Value Of The Day

by M. David Peterson

I've been doing a bunch of dev work inside the confines of System.Drawing as of late, an area in which I've spent less time than I have elsewhere, and came across the following that left me busting a gut,

dotNET_FCL_enum-value-of-the-day_PixelFormat.png

No doubt there's good reason to have the enum value PixelFormat.DontCare, but it's still making me smile none-the-less wondering just how purple and sticky** the sky's above Redmond are these days (or at least that day, anyway). ;-)

Enjoy your "What pixel format should I use? Ah, hell, I don't care. Just pick one." dev days, everyone!

** If you don't know, don't ask. ;-) :D

2 Comments

Ed Brey
2008-01-22 07:00:26
I hope it doesn't take too much fun out, but don't care is a well-defined technical term in the digital logic domain. I don't know this namespace well, but my guess is that Microsoft is using it in a serious sense.
M. David Peterson
2008-01-22 23:44:54
@Ed,


>> I hope it doesn't take too much fun out,


Oh, there's always fun to be had! ;-)


>> but don't care is a well-defined technical term in the digital logic domain. I don't know this namespace well, but my guess is that Microsoft is using it in a serious sense.


Huh, weird. During all my years of coding I don't believe I've ever stumbled across this usage. Or maybe I have and just thought the author was just making a statement of opinion rather than technical fact? Not sure, but whatever the reason I still like it! I think I'll start using it in my code more often. :D


Thanks for the info and link!