How can i add file to a folder
I need a source code on how can i add file to a folder
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Hemant SrivastavaRank #581 · 4.2K reputationPosted Jan 11, 2013, 8:21 AM EST
var dir = new DirectoryInfo(@"C:\Temp"); File.Create(dir.FullName + "\\file.ext"); If it helps you, pls mark it accepted answer.