Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 893741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:16:08+00:00 2026-05-15T14:16:08+00:00

Eric Lippert’s comments in this question have left me thoroughly confused. What is the

  • 0

Eric Lippert’s comments in this question have left me thoroughly confused. What is the difference between casting and conversion in C#?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T14:16:09+00:00Added an answer on May 15, 2026 at 2:16 pm

    I believe what Eric is trying to say is:

    Casting is a term describing syntax (hence the Syntactic meaning).

    Conversion is a term describing what actions are actually taken behind the scenes (and thus the Semantic meaning).

    A cast-expression is used to convert
    explicitly an expression to a given
    type.

    And

    A cast-expression of the form (T)E,
    where T is a type and E is a
    unary-expression, performs an explicit
    conversion (§13.2) of the value of E
    to type T.

    Seems to back that up by saying that a cast operator in the syntax performs an explicit conversion.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question is partially inspired by this article written by Eric Lippert: http://blogs.msdn.com/ericlippert/archive/2009/10/19/what-is-this-thing-you-call-thread-safe.aspx Using
I know, I know... Eric Lippert's answer to this kind of question is usually
This question and Eric Lippert's answer got me wondering: How do you decide whether
Related to this question , based on a comment of user Eric Lippert .
Update : I just stumbled upon this in Eric Lippert's answer to another question
If you forward to approximately 13 minutes into this video by Eric Lippert he
Using Casting null doesn't compile as inspiration, and from Eric Lippert's comment: That demonstrates
Here's Eric Lippert's comment from this post : Now that you know the answer,
This is a sentence from Eric Lippert's blog : Given that unfortunate situation, it
As Eric Lippert described in this article , yield return is not allowed within

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.