Casting

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

If I have a method which requires and object to be provided and I what to
know if the object can be cast to an int16, or double what command would I
use to find this out?

In VB, I think the format is If typeof MyField is System.String, but that
does not seem to cut it in C#

Thanks in advance for your assistance!!!!!
 
Back
Top