Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
using int.TryParse
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int next = 1; if (int.TryParse("222", out next)) { Console.WriteLine("parsed: " + next); } else { Console.WriteLine("unparsed: " + next); } } } }
run
|
edit
|
history
|
help
0
My quad calc
xyz
Number of Digits in a Number
line 1 syntax error
IsStringAPalindrome
PhoneBook- Dictionary
Fun with Enums
base interior 0.1
Par ou ímpar input
перегружаемый оператор