public static void batchDelete() { Mac mac = new Mac(Settings.AccessKey, Settings.SecretKey); string bucket = "test"; int N = 5; // 待删除的N个文件keys string[] keys = new string[N]; for (int i = 0; i < N; ++i) { keys[i] = string.Format("{0:D3}.txt", i + 1); } BucketManager bm = new BucketManager(mac); var result = bm.BatchDelete(bucket, keys); Console.WriteLine(result); }