Casting operators - Ran Wahle's blog(blogs.microsoft.co.il)

submitted by ranwranw(263) 2 years, 2 months ago

Many times we’ve encountered the need to cast a variable from one type to another. On many occasions we couldn’t and therefore had to write our own conversion methods. Many of these occasions the conversion methods involved our own classes. In this post I will demonstrate the casting operators that will allow as to have an implicit or explicit conversions between our types.

add a comment |category: |Views: 9

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:

No comments so far

information Login or create an account to comment on this story