Click or drag to resize

StringHelperIsPositiveInteger Method

Checks whether a string represents a positive integer.

Namespace:  Bootstrap.A11y.Helpers
Assembly:  Bootstrap.A11y (in Bootstrap.A11y.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
C#
public static bool IsPositiveInteger(
	string s
)

Parameters

s
Type: SystemString
The string to check.

Return Value

Type: Boolean
Whether the string represents a positive integer.
See Also