Top "Reference-type" questions

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

Is Guid considered a value type or reference type?

Guids are created using the new keyword which makes me think it's a reference type. Is this correct? Guid uid = …

c# .net guid value-type reference-type
C# pass by value vs. pass by reference

Consider the following code (I have purposefully written MyPoint to be a reference type for this example) public class MyPoint { …

c# pass-by-reference pass-by-value value-type reference-type
pass by reference without the ref keyword

I'm not a veteran in socket programming, so while analyzing code I found in a database API I came across …

c# sockets pass-by-reference byte reference-type
What does Python treat as reference types?

I assumed sequence types in Python were value types. It turns out they're reference types (Meaning that the value of …

python sequences value-type reference-type
Why are delegates reference types?

Quick note on the accepted answer: I disagree with a small part of Jeffrey's answer, namely the point that since …

c# .net delegates value-type reference-type
In C# , Are Value types mutable or immutable ?

Value types behavior shows that whatever value we are holding cannot be changed through some other variable . But I still …

c# value-type reference-type
Type of reference type with value null?

According to: http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html 4.5.2 Variables of Reference Type A …

java null reference-type
Detailed Explanation of Variable Capture in Closures

I've seen countless posts on how variable capture pulls in variables for the creation of the closure, however they all …

c# .net closures value-type reference-type
Is creating a C# generic method that accepts (nullable) value type and reference type possible?

I want to create a simple method that accepts both value type and reference type parameters, i.e. int is …

c# .net generics value-type reference-type