VOOZH about

URL: https://www.geeksforgeeks.org/c-sharp/int32-gettypecode-method-in-c-sharp-with-examples/

⇱ Int32.GetTypeCode Method in C# with Examples - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Int32.GetTypeCode Method in C# with Examples

Last Updated : 11 Jul, 2025
Int32.GetTypeCode method is used to get the TypeCode for value type Int32.
Syntax: public TypeCode GetTypeCode (); Return Value: This method returns the enumerated constant Int32.
Below programs illustrate the use of the above discussed-method: Example 1:
Output:
TypeCode for Int32 is: Int32
Example 2:
Output:
TypeCode for -2147483648 is Int32
TypeCode for 2147483647 is Int32
Reference:
Comment
Article Tags:

Explore