File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/c-sharp/concepts/data-types Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ Value types are data types that are built-in to C#. The available types and thei
24
24
| --------- | ----------------------- | ------------ |
25
25
| ` bool ` | Boolean | 1 byte |
26
26
| ` byte ` | Byte | 1 byte |
27
- | ` sbyte ` | Short Byte | 1 byte |
27
+ | ` sbyte ` | Signed Byte | 1 byte |
28
28
| ` char ` | Character | 2 bytes |
29
29
| ` decimal ` | Decimal | 16 bytes |
30
30
| ` double ` | Double | 8 bytes |
31
31
| ` float ` | Float | 4 bytes |
32
32
| ` int ` | Integer | 4 bytes |
33
33
| ` uint ` | Unsigned Integer | 4 bytes |
34
34
| ` nint ` | Native Integer | 4 or 8 bytes |
35
- | ` unint ` | Unsigned Native Integer | 4 or 8 bytes |
35
+ | ` nuint ` | Unsigned Native Integer | 4 or 8 bytes |
36
36
| ` long ` | Long | 8 bytes |
37
37
| ` ulong ` | Unsigned Long | 8 bytes |
38
38
| ` short ` | Short | 2 bytes |
@@ -51,7 +51,7 @@ float heightOfGiraffe = 908.32f;
51
51
int seaLevel = - 24 ;
52
52
uint year = 2023 u ;
53
53
nint pagesInBook = 412 ;
54
- unint milesToNewYork = 2597 ;
54
+ nuint milesToNewYork = 2597 ;
55
55
long circumferenceOfEarth = 25000 l ;
56
56
ulong depthOfOcean = 28000 ul ;
57
57
short tableHeight = 4 ;
You can’t perform that action at this time.
0 commit comments