>Does anyone else use ushort and uint in their apps? What does it mean that: "This structure is not CLS-compliant."? I found this note in the docs about UInt16 (ushort) and UInt32 (uint).
>Is it bad to use a not compliant CLS structure in my class?
>
>Thanks,
>Einar
Einar,
Not CLS-compliant means that any properties or methods that use the type are not guaranteed to work with other .NET languages. It's fine to use the types in non-public members. You will probably want to overload any public members that use the type with the next-larger integral type (int for ushort, long for uint).
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only