StringExtensions.AsNullableInt Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

AsNullableInt(string)

Helper method for converting a string to a nullable int.

public static int? AsNullableInt(this string input)

Parameters

input
string

The input string.

Returns

int?

The value as a nullable int.