This method is used to return the TypeCode for value type Byte.
public TypeCode GetTypeCode ();
Return Value: It returns the enumerated constant, Byte.
Below programs illustrate the use of Byte.GetTypeCode() Method:
TypeCode of val1 is Byte TypeCode of val2 is Boolean
TypeCode of 12 is Byte TypeCode of True is Boolean
- Difference between Method Overriding and Method Hiding in C#
- C# | PadLeft() Method
- C# | Math.Sin() Method
- C# | Math.Cos() Method
- C# | Math.Tan() Method
- C# | Join() Method | Set - 1
- C# | ToLower() Method
- Queue.Contains() Method in C#
- TimeSpan.Add() Method in C#
- Decimal.Add() Method in C#
- C# | ToUpper() Method
- Method Hiding in C#
- C# | Copy() Method
- C# | Method Overloading
- C# | IndexOfAny() Method
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.