---
title: "how to create log file in C#"  
description: "how to create log file in C#"  
author: "Anonymous User"  
published: 2013-03-06  
updated: 2013-03-06  
canonical: https://www.mindstick.com/forum/624/how-to-create-log-file-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# how to create log file in C#

Hi Everyone!

I have created [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) [application in C#](https://www.mindstick.com/interview/34012/how-do-you-create-a-windows-forms-application-in-c-sharp). I want to create a [log file](https://www.mindstick.com/articles/327201/create-log-file-in-c-sharp). This log file maintain generated [exception](https://www.mindstick.com/articles/1824/objective-c-exception-handling) information.

Please provide any [demo](https://www.mindstick.com/forum/157370/how-to-swap-neighbor-characters-in-string-e-g-string-demo-would-be-edom) or concrete line of code.

Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

Hi Ezra!

You can get the help from below blog.

http://www.mindstick.com/Blog/458/How%20to%20Create%20Log%20File%20in%20C

I hope it resolve your problem!


---

Original Source: https://www.mindstick.com/forum/624/how-to-create-log-file-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
