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
ZeroMatrix
D16
diagonal
display xml : linq
Add char to non-numerical words only
Simple Constructor Implementation
Hash autoryzujący
Code challenge: Factorial
Reverse Array
Pentagon`s area