i want that more files like ppt,docx,txt using directory.getfiles() method : it does work but not complete my need. i want that more files like ppt,docx,txt using directory.getfiles() method.
 private void button2_Click(object sender, EventArgs e)
        {

            listView1.Items.Clear();
            if (textBox1.Text != "")
            {
                List<string> files = new List<string>();
                files = Directory.GetFiles(textBox1.Text, "*.txt,*.ppt").ToList();
                progressBar1.Maximum = files.Count;
                progressBar1.Value = 0;
                ListViewItem it;
                foreach (var file in files)
                {
                    it = new ListViewItem(file.ToString());
                    it.SubItems.Add(System.IO.Path.GetFileName(file.ToString()));
                    it.SubItems.Add(System.IO.Path.GetExtension(file.ToString()));
                    listView1.Items.Add(it);
                    progressBar1.Increment(1);
                }
            }
            else
                MessageBox.Show("Select diroctery first");
        }