VOOZH about

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

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


  • Courses
  • Tutorials
  • Interview Prep

Int64.GetTypeCode Method in C# with Examples

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

Explore