3 ms·
It can actually be pretty useful to be able to add them up and then use them in or statements. Examples from C#: http://msdn.microsoft.com/en-us/library/vstud
by mattmanser 14y ago
It can actually be pretty useful to be able to add them up and then use them in or statements.
Examples from C#:
http://msdn.microsoft.com/en-us/library/vstudio/cc138362.aspx http://msdn.microsoft.com/en-us/library/vstudio/cc138362.asp...
It's also used to be sort of useful for serialization or storing them in a DB as they'd take up less space than a string, but these days that's not so important and I'd actually caution against it.
Basically you don't need it often, but when you do it's extremely useful.