hi all,
I am creating one function named "ToUInt16" in this function i am converting the int value into Uint16 as
Public Function ToUInt16(ByVal provider As IFormatProvider) As UInt16
Return Convert.ToUInt16(m_iPercent)
End Function
m_iPercent is of type integer.
I am getting an warning on this function as
"Ruturn type of function 'ToUInt16' is not CLS-complaint."
What is the meaning of this warning can somebody help me to understand this warning bcoz i don't understand this warning.
Regards
Guest11