Retrieves and displays the name of a built-in data type.

ID: 539

				
					using uCalcSoftware;

var uc = new uCalc();
var intType = uc.DataTypeOf(BuiltInType.Integer_32);
Console.WriteLine($"The canonical name for Integer_32 is: {intType.Name}");

var strType = uc.DataTypeOf(BuiltInType.String);
Console.WriteLine($"The canonical name for String is: {strType.Name}");
				
			
The canonical name for Integer_32 is: int
The canonical name for String is: string
				
					#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   auto intType = uc.DataTypeOf(BuiltInType::Integer_32);
   cout << "The canonical name for Integer_32 is: " << intType.Name() << endl;

   auto strType = uc.DataTypeOf(BuiltInType::String);
   cout << "The canonical name for String is: " << strType.Name() << endl;
}
				
			
The canonical name for Integer_32 is: int
The canonical name for String is: string
				
					Imports System
Imports uCalcSoftware
Public Module Program
   Public Sub Main()
      Dim uc As New uCalc()
      Dim intType = uc.DataTypeOf(BuiltInType.Integer_32)
      Console.WriteLine($"The canonical name for Integer_32 is: {intType.Name}")
      
      Dim strType = uc.DataTypeOf(BuiltInType.String)
      Console.WriteLine($"The canonical name for String is: {strType.Name}")
   End Sub
End Module
				
			
The canonical name for Integer_32 is: int
The canonical name for String is: string