== Quote from Ellery Newcomer (ellery-newco...@utulsa.edu)'s article
> On 02/15/2010 05:33 PM, Steven Schveighoffer wrote:
> >
> > i.e.
> >
> > uint a = -1; // error
> I can't say I would appreciate having to write
> uint a = 0xFFFFFFFF;
> or the equivalent for ulong.

I always just use uint.max for such things.  Yes, it's a little more typing, but
it's clearer and saves me a few seconds of thinking.

Reply via email to