Click or drag to resize

YNullReferenceExceptionCheckNullOrEmpty(String, String) Method

Check if the given string is null or empty.

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public static string CheckNullOrEmpty(
	string? str,
	string referenceName
)

Parameters

str  String
The string to check.
referenceName  String
The name of the reference.

Return Value

String
The given string.
See Also