Header Ads

Header Ads

How to create directory using c# programing

how to create a directory using C sharp

friends today i will tell you how to create  a directory using c# 
1. first you open visual studio
2. second you create a new c# project
3.use the using System.io namespace in our class
4. you write following code in your program
 

Directory. Createdirectory(d:\\);
Directory.Createdirectory(d:\\ ankush);


first line use to give a path where you want create a directory .
second line use to give a folder name 


Thank you 



No comments:

Powered by Blogger.