Why would this code (in my form's _Load() event):
FileVersionInfo vi = FileVersionInfo.GetVersionInfo(_fullPath);
String VersionInfo = vi.FileVersion;
if (VersionInfo.Trim().Equals(String.Empty)) {
    VersionInfo = NO_VERSION_INFO_AVAILABLE;
}
textBoxVersionInfo.Text = VersionInfo;
...give me the following err msg when VersionInfo == "" is true?
System.NullReferenceException was unhandled Message=Object reference not set to an instance of an object.*
                        
There is a
null-safe way to do this: instead ofwrite
It will not crash if
VersionInfois null, and it will return true if trimmingVersionInforesults in an empty string.