Enumerations in C# negative side effects of using a negative number

negative side effects of using a negative number

Clearly, with any underlying signed type, any bitwise operations are going to get “interesting” very quickly.

But using an enum as a collection of related constants can quite happily use negative values.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)