StringExtensions..::..ToInt Method (String)

Converts the string representation of a number to an integer.

Namespace:  MichaelBrandonMorris.Extensions.PrimitiveExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrimitiveExtensions (in MichaelBrandonMorris.Extensions.PrimitiveExtensions.dll)

Syntax


public static int ToInt(
	string s
)
Public Shared Function ToInt ( _
	s As String _
) As Integer
public:
static int^ ToInt(
	String^ s
)

Parameters

s
Type: String
The s.

Return Value

System.Int32.