Skip to content

Types

A quick overview of the built-in types (see the docs for more details):

JS/TSC#Notes
stringstringStrings in C# must always be double quoted "".
stringcharCharacter types in C# are distinct from strings and use single quotes ''
numberintThere are several int types. The default int is a 32-bit signed integer (see the docs).
numberdecimalDecimal type with fixed degree of precision (see the docs)
numberfloatDecimal type with a floating precision
booleanbool
objectobjectAside from C#'s dynamic, objects cannot be freely manipulated to attach new properties and functions.