public void ExportAll(int bnum, string path, string path2 = null) { int i = 0; foreach (KeyValuePair <int, byte[]> s in samples) { Export(s.Key, Howl.GetFreq(s.Key), path, path2, s.Key.ToString("0000") + "_" + s.Key.ToString("X4")); i++; } }