Search:

Type: Posts; User: Mario F.

Search: Search took 0.06 seconds.

  1. Replies
    11
    Views
    4,368

    I'm avoid mentioning C++ references because you...

    I'm avoid mentioning C++ references because you don't have a C++ background, is that right? But if you do, here's a way I prefer to use when explaining the ref keyword applied to reference types (and...
  2. Replies
    11
    Views
    4,368

    It's the thing you'll have to work your head...

    It's the thing you'll have to work your head around in C#. The ref keyword essentially serves two different purposes depending on whether you are passing a value-type or a reference type.

    Value...
  3. Replies
    11
    Views
    4,368

    Meaningless is not the correct word. Passing a...

    Meaningless is not the correct word. Passing a reference type by reference (with the ref keyword) allows you to change the reference to a new object and persist that change outside the local scope....
  4. Replies
    11
    Views
    4,368

    It can boggle the mind, I admit. When I first...

    It can boggle the mind, I admit. When I first started learning C++, references took a while to set in. And C# can equally or more confusing since its distinction between reference and value types is...
Results 1 to 4 of 4