Dynamic type conversion in the nullable world(blog.activa.be)

submitted by activaactiva(2340) 4 years, 10 months ago

We all know the Convert.ChangeType() for changing a value from one (unknown) type to another (unknown) type at runtime, but this method doesn't handle nullables and enums very well. What may seem a simple task isn't that simple after all. You have to differentiate nullables, value types and enums.

1 comment |category: |Views: 48

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by AnnaBay21AnnaBay21(0) 4 years, 10 months ago 0

That is a really good advice. Thanks:)

Reply

information Login or create an account to comment on this story