arrays - C# What is the difference between byte[] and char[] -



arrays - C# What is the difference between byte[] and char[] -

what difference between byte[] , char[]?

differentiate more usage perspective. can used interchangeably?

byte represents byte. 8-bits wide. char represents unicode character, , 2 bytes (i.e. 16 bits) wide. utilize byte[] if you're dealing raw bytes, , char[] (or improve yet string) if you're dealing strings.

c# arrays

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -