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

  • Home
  • SEARCH
  • 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 4607974
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:46:43+00:00 2026-05-22T00:46:43+00:00

What are the similarties/differences between a C++ reference and a C# reference ? Edit:

  • 0

What are the similarties/differences between a C++ reference and a C# reference ?

Edit:

I’m talking about Object references,as I’m a newbie I was unaware that such a simple line would cause ambiguity,as I have read. Whenever the term “reference” is used,its in context to Object reference,otherwise its explicitly quoted as “managed references”.

I think all the people who have answered this question have got what I was trying to say and I made a comment that states clearly what I wanted to ask. I don’t see any reason for a downvote,come on guys.

This question does not deserve to be closed.As newbies like me can learn from the insight a lot of experienced people have provided.

  • 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-22T00:46:44+00:00Added an answer on May 22, 2026 at 12:46 am

    C# references are closer to C++ pointers than to C++ references.

    C# references can be null and have assignment semantics similar to pointers. The difference is that they are black boxes(you can’t convert them to integral types) and you can’t do arithmetic on them. They also can only point to reference types.

    C++ references are quite different(apart from being compiled to pointers too). They are closer to .net managed references which are used for ref parameters. But even then the assignment semantics differ.


    Initialization of a reference is something quite different from assignment to it. Despite appear-
    ances, no operator operates on a reference.

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

Sidebar

Related Questions

I want to know the differences/similarities between Hibernate and simple persistence in Java EE
What are the similarities and differences between GridView, DetailView, FormView? What are use case
So I found some similarities between arrays and set notation while learning about sets
I am trying to understand concepts (similarities and differences) between the .NET remoting (and
I am curious, what are the differences between Domain Driven Design and Model Driven
I am trying to use Difflib.SequenceMatcher to compute the similarities between two files. These
I am new to vimdiff and had a question about outputting the similarities of
Today twitting with a colleague , he said me that Groovy is like C#
I'm about to embark on my first attempt at Desktop Software Design and I
I am wondering at the difference between declaring a variable as volatile and always

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.