• Home
    • Leadership
      • Career Model
      • Proactive Mentorship
      • Productivity
      • Review Model
      • Work:Life Balance
    • Puzzles
    • Reviews
    • Tech
      • 3D Printing
      • Announcements
      • Azure
      • Bugs
      • Career
      • Conferences
      • Gaming
      • IoT
      • Jobs
      • Microsoft
      • Power BI
      • Reviews
      • Story
      • Tips
      • Tutorials
    • Travel
  • Archive
  • Videos
  • Contact

TechTips

Convert.ChangeType for Nullable types

2006-06-19

Convert.ChangeType doesn’t support nullable types. Peter Johnson has a post which shows how to test and cast from object to Nullable types. The can obviously be extended with generics.

http://aspalliance.com/852

newer

VSTS Performance Tools

older

Type conversion (From object to Nullable, Enum, Custom TypeConverter)



© 2023 Jon Gallant

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way. This post may contain affiliate links. If you use these links to buy something I may earn a commission.