C# Char GetType
Description
Char GetType
gets the Type of the current instance.
Syntax
Char.GetType
has the following syntax.
public Type GetType()
Returns
Char.GetType
method returns The exact runtime type of the current instance.
Example
The following code callss the GetType method on Char type.
using System;/* ww w.j a va 2s . co m*/
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(Char.MaxValue.GetType());
}
}
The code above generates the following result.