string fileInstructions;
1、如果为空:
if(string.IsNullOrEmpty(fileInstructions))
2、如果不为空:
if(!string.IsNullOrEmpty(fileInstructions))