Answers for "char parse to int c#"

C#
4

c# char to int

int val = (int)Char.GetNumericValue('8');
Posted by: Guest on November-21-2020
4

parsing string to int c#

string userInput = Console.ReadLine();
int convert;
Int32.TryParse(userInput, out convert);  // Converting String to int
Posted by: Guest on March-11-2020

C# Answers by Framework

Browse Popular Code Answers by Language