2011-05-09 123 views

回答

12

您可以使用Directory.Delete方法作爲第二個參數傳遞true

Directory.Delete(@"c:\somedirectory", true);