Hi Bill,
Basically it says:
If the variable
value is not empty and if the variable
value is not an empty string
string.IsNullOrEmpty is a boolean method that returns true when the value you pass in is either null (Nothing in
VB.NET) or an empty string ("" / String.Empty).
By reversing its outcome using the ! operator, the code that follows will only be executed when the value variable contains a value that is not empty, and not null; e.g. some string value.
So, it checks that the string is
NOT null and
NOT empty
Hope this helps,
Imar