The PowerBuilder to .NET compiler converts PowerScript datatypes to .NET datatypes.
| PowerScript datatype | C# datatype |
|---|---|
| boolean | bool |
| blob | byte [ ] |
| byte | byte |
| int, uint | short, ushort |
| long, ulong | int, uint |
| longlong | long |
| decimal | decimal |
| real | float |
| double | double |
| string | string |
| user-defined structure | struct |
| user-defined nonvisual object | class |
| Date | DateTime |
| Time | DateTime |
| DateTime | DateTime |