How to create new file with path?

Posted by Nam Gi VU on Stack Overflow See other posts from Stack Overflow or by Nam Gi VU
Published on 2010-05-06T08:35:40Z Indexed on 2010/05/06 8:38 UTC
Read the original article Hit count: 146

Filed under:

Let's say I need to create a new file whose path is ".\a\bb\file.txt". The folder a and bb may not exist. How can I create this file in C# in which folder a and bb are automatically created if not exist?

© Stack Overflow or respective owner

Related posts about c#