Bool
Slice provides a boolean type, bool
. It can have two values: true (1) or false (0).
Slice | C# mapping |
---|---|
bool | bool |
Floating-point types
Slice provides 2 floating-point types: a single precision type, float32
, and a double-precision type, float64
.
Slice | C# mapping |
---|---|
float32 | float |
float64 | double |
String
Slice provides a string type, string
. A string is a sequence of characters that can be encoded using UTF-8.
Slice | C# mapping |
---|---|
string | string |