Click or drag to resize

HelperIfNullOrEmpty Method

Returns the default value if the input string is null or empty, otherwise the input

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
Syntax
C#
public static string IfNullOrEmpty(
	string value,
	string defaultValue
)

Parameters

value  String
 
defaultValue  String
 

Return Value

String
See Also