---
title: "What are value type and reference type.?"  
description: "What are value type and reference type.?"  
author: "Jonas Stuart"  
published: 2017-02-24  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/23209/what-are-value-type-and-reference-type  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What are value type and reference type.?

Value types are stored in the stack where a reference types are stored on heap.

**Value type**

Int,enum,byte,decimal,double,long

**Reference types**

String,class,interface object

## Answers

### Answer by Jonas Stuart

Value types are stored in the stack where a reference types are stored on heap.

**Value type**

Int,enum,byte,decimal,double,long

**Reference types**

String,class,interface object


---

Original Source: https://www.mindstick.com/interview/23209/what-are-value-type-and-reference-type

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
