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.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static string IfNullOrEmpty(
	string value,
	string defaultValue
)

Parameters

value  String
 
defaultValue  String
 

Return Value

String
See Also