Top "Reference-type" questions

In programming language theory, a reference type is a data type that refers to an object in memory.

Dictionary.ContainsKey() - How does it work?

I've read the MSDN documentation on how Dictionary.ContainsKey() works, but I was wondering how it actually makes the equality …

c# .net reference-type idictionary
Can AutoMapper Map Between a Value Type (Enum) and Reference Type? (string)

Weird problem - i'm trying to map between an enum and a string, using AutoMapper: Mapper.CreateMap<MyEnum, string&…

c# enums automapper value-type reference-type
How to make a copy of a reference type

Possible Duplicate: Cloning objects in C# I have a class with properties and some of them are reference types (instances …

c# immutability reference-type
C#, Copy one bool to another (by ref, not val)

I am at a brick wall here. Is it possible to copy one bool to the ref of another. Consider …

c# .net value-type reference-type
Why java has "String" type and not "string"?

Wrapper class are just fine and their purpose is also well understood. But why do we omit the primitive type ?

java string primitive-types reference-type
How can I create an optional DateTime parameter?

I have this function that returns a reference type. Now, this function has two optional parameters both of which are …

c# optional-parameters reference-type
Implementing Nullable Types in Generic Interface

So in a previous question I asked about implementing a generic interface with a public class and bingo, it works. …

c# exception interface reference reference-type
Is object a reference type or value type?

I have still doubts about object. It is the primary base class of anything, any class. But is it reference …

c# oop object value-type reference-type
When to use primitive and when reference types in Java

In which case should you use primitive types(int) or reference types (Integer)? This question sparked my curiosity.

java primitive-types reference-type
How do ValueTypes derive from Object (ReferenceType) and still be ValueTypes?

C# doesn't allow structs to derive from classes, but all ValueTypes derive from Object. Where is this distinction made? How …

c# .net clr value-type reference-type