NotNull string

.NotNull()

Checks a string to see if it is null or "".

Method

public static bool NullToDate(this string val)
string value

Value to test if it is a null or empty string.

Example

C#
bool result = "".NotNull();