C# Char GetTypeCode
Description
Char GetTypeCode
returns the TypeCode for value type Char.
Syntax
Char.GetTypeCode
has the following syntax.
public TypeCode GetTypeCode()
Returns
Char.GetTypeCode
method returns The enumerated constant, TypeCode.Char.
Example
The following code callss the GetTypeCode method on Char type.
using System;//ww w . j a v a 2s . c o m
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(Char.MaxValue.GetTypeCode());
}
}
The code above generates the following result.