日期:2014-05-18 浏览次数:20847 次
using System.IO; namespace WindowsFormsApplication2 { public partial class Form2 : Form { public Form2() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string[] files = Directory.GetDirectories("C:\\"); } }