Not a big one but...
-
Seen some code that looks like:
[RangeValidator(min:-128,max:128)]
public sbyte AdditionalData{get;set;}I see at least two problems with this :laugh:
-
Seen some code that looks like:
[RangeValidator(min:-128,max:128)]
public sbyte AdditionalData{get;set;}I see at least two problems with this :laugh:
What's wrong with my code??
-
What's wrong with my code??
andyharglesis wrote:
What's wrong with my code??
It thinks it looks good without a shirt on. Oh, wait...
-
What's wrong with my code??
You know, admitting that I write the code in the hall of shame is in my "top 100 things not to do" list :-D
A hidden needle is way more effective than an unsheathed sword.
-
What's wrong with my code??
-
Seen some code that looks like:
[RangeValidator(min:-128,max:128)]
public sbyte AdditionalData{get;set;}I see at least two problems with this :laugh:
Well 128 is not valid for a signed byte... What would be the second problem ?
Philippe Mori