怎么样判断文件的内容是文本文件!!

System.IO.FileInfo   f   =   new   System.IO.FileInfo("c:\aaa.xxx");  
  MessageBox.Show(f.Extension);
posted on 2006-08-13 19:06  石川  阅读(293)  评论(0编辑  收藏  举报