Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
my cool stuff
bc160401882
c# değişik bir çizim
List, Object, Classes, Function
D12
Deadlock Example
Rank
Roman to Arabic number conversion without semantic control
vigenere cypher
C# - Integer to Roman
stackse - search stackoverflow differently
Please log in to post a comment.