A
Art
When i implement IConvertible GetTypeCode() which TypeCode would i
return?
TypeCode.Object if it is implemented in a class?
What in case if it is implemented in a struct?
In general i don't know what IConvertible GetTypeCode() is used for.
Can someone explain this to me? The examples i found in the msdn and
the web are not helpful.
Lets consider the unlikely case where i have an object that can best
be represented as a boolean value. Would i then return
TypeCode.Boolean to indicate that a conversion to a boolean value
among the type codes represents the object best?
thanks in advance.
arthur
return?
TypeCode.Object if it is implemented in a class?
What in case if it is implemented in a struct?
In general i don't know what IConvertible GetTypeCode() is used for.
Can someone explain this to me? The examples i found in the msdn and
the web are not helpful.
Lets consider the unlikely case where i have an object that can best
be represented as a boolean value. Would i then return
TypeCode.Boolean to indicate that a conversion to a boolean value
among the type codes represents the object best?
thanks in advance.
arthur