Hello everyone , i am new to c# so please don't get upset with my question .
I'm working with system.Io
look here http://msdn.microsoft.com/en-us/library/system.io.directory.aspx now what does Directory.CreateDirectory(path);
means , why when we have a path we create a directory . please make me understand

Recommended Answers

All 2 Replies

It creates directories (or folders).
If you tell it Directory.CreateDirecy("c:\\science\\data"), it will make both the science and the data directories if necessary.

It creates directories (or folders).
If you tell it Directory.CreateDirecy("c:\\science\\data"), it will make both the science and the data directories if necessary.

Thank you very much , now i understand

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.