Advertisement
KodingKid

C# data types + bytes per data type

Apr 3rd, 2021
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.13 KB | None | 0 0
  1. int = 4 bytes
  2. long = 8 bytes
  3. float = 4 bytes
  4. double = 8 bytes
  5. bool = 1 bit
  6. char = 2 bytes
  7. string = 2 bytes //per character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement