C# SByte GetType
Description
SByte GetType
gets the Type of the current instance.
Syntax
SByte.GetType
has the following syntax.
public Type GetType()
Returns
SByte.GetType
method returns The exact runtime type of the current instance.
Example
using System;/*from www . j a v a 2s. c o m*/
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(sbyte.MinValue.GetType());
}
}
The code above generates the following result.