Well, I know in fact that "!" means NOT, and I quite understand the "IsNullOrWhiteSpace" function destination. But once upon, when I surfed through the Internet in terms of finding how to delete whitespaces, I've faced that kind of syntax:
if (!string.IsNullOrWhiteSpace(s))
{
writer.WriteLine(s);
}
How should I understand such a syntax? Exclamation mark before the DATATYPE(!!!), then the datatype calls the function with the parameter of my string, later being written to some file. And, by the way, is there a better approach to delete empty lines if my file from where I read text has several (maybe, more or less) whitespaces between the actual strings?