---
title: "Can you change the value of a variable while debugging a C# application?"  
description: "Can you change the value of a variable while debugging a C# application?"  
author: "James Smith"  
published: 2011-07-01  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/1077/can-you-change-the-value-of-a-variable-while-debugging-a-c-sharp-application  
category: ".net"  
tags: [".net"]  
reading_time: 1 minute  

---

# Can you change the value of a variable while debugging a C# application?

Yes, if you are debugging via Visual Studio.NET, just go to Immediate window.

## Answers

### Answer by James Smith

Yes, if you are debugging via Visual Studio.NET, just go to Immediate window.


---

Original Source: https://www.mindstick.com/interview/1077/can-you-change-the-value-of-a-variable-while-debugging-a-c-sharp-application

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
