Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# char to int

using System;
public class Test
{
	public static void Main()
	{
		char a = 'c';
		int answer = (int)a;//char to int convertion
		Console.WriteLine(answer);
	}
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #char #int
ADD COMMENT
Topic
Name
2+2 =