StringExtensions.IsEmpty

Extension Method in StringExtensions

Declaration

public static bool IsEmpty(this string str)

Description

Checks if the string is null or empty.

Parameters

strThe string to test.

Returns

boolTrue if the string is null or empty.