---
title: "How to get the current directory using C#"  
description: "How to get the current directory using C#"  
author: "Anonymous User"  
published: 2013-10-07  
updated: 2013-10-08  
canonical: https://www.mindstick.com/forum/1638/how-to-get-the-current-directory-using-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How to get the current directory using C#

I want to get the current working [directory](https://www.mindstick.com/forum/226/how-to-get-application-directory-using-c-sharp-csharp) using C#?

## Replies

### Reply by Manoj Bhatt

```
static void Main(string[] args){Console.WriteLine("Current working directory:: {0}",     Environment.CurrentDirectory);  Console.ReadKey();}
```


---

Original Source: https://www.mindstick.com/forum/1638/how-to-get-the-current-directory-using-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
