Skip to content

Glossary: C# Basics

TryParse

Also written: int.TryParse, decimal.TryParse

Converts text to a number and returns true or false instead of throwing. The number comes back through an `out` variable, which suits checking typed input.

Where the book teaches it

Related terms

ParseoutException