Click or drag to resize

StringExtensionsIsNotEmpty Method

Determines whether the string is not empty (or null).

Namespace:  CSScriptLib
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
public static bool IsNotEmpty(
	this string text
)

Parameters

text
Type: SystemString
The text.

Return Value

Type: Boolean
true if [is not empty] [the specified text]; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also