Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling DB Nulls
Message
 
 
To
29/12/2009 12:06:01
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01440804
Message ID:
01441070
Views:
22
>>>>I think there is some contradiction I still don't understand. From the link:
>>>>
>>>>where T: struct
>>>> The type argument must be a value type. Any value type except Nullable can be specified. See Using Nullable Types (C# Programming Guide) for more information.
>>>
>>>probably means we cannot write
>>>
>>>where T?: struct
>>>
>>>
>>>
>>>>and then we're using nullable value type for the parameter. Why does it work?
>>>
>>>
>>>We still pass T - except it is nullable
>>
>>Why for inlist we need to use IEquatable(T) and not IComparable ?
>
>With Inlist - we only need to compare for equality. We do not need less than, greater than, ... - do we ?
>
>Did you look up IComparable and IEquatable ?
>
>[The best way to get an answer to your question is to leave it unanswered ]

Not yet - still going through my e-mails right now.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform