StreamReader streamReader = new StreamReader(@"E:\wwwroot1\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\config.txt"); 
          char str = '\\'; 
          string directoryName = this.textBoxInput.Text;            
            direc = '@' + directoryName; 
            // directoryName = Path.GetFullPath(foldPathname1); 
            DateTime dt = Directory.GetLastWriteTime(direc); 
            Boolean result1 = false; Boolean result2 =false;        
    这里  string directoryName = this.textBoxInput.Text; 出现异常,未将对象引用设置到对象的实例,这是什么原因阿,劳驾,谢谢