How to convert document.body.innertext to integer

I know that I'm able to convert things to string with .ToString() but I'm not sure how I would go about converting something to an integer.

 int version = webBrowser1.Document.Body.InnerText; if (version > 0.0.1) { } 

Thats what I have so far

by Dgameman1 via /r/csharp

Leave a Reply