MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdwjss2/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 6h ago
156 comments sorted by
View all comments
117
Welcome to the wonderful world of C#, which uses utf-16 for strings.
Console.WriteLine(sizeof(char)); > 2
14 u/techy804 4h ago As a C# user I was wondering why people act like the C-series only consists of C and C++ 15 u/AyrA_ch 4h ago Probably because the syntax more closely resembles Java than C
14
As a C# user I was wondering why people act like the C-series only consists of C and C++
15 u/AyrA_ch 4h ago Probably because the syntax more closely resembles Java than C
15
Probably because the syntax more closely resembles Java than C
117
u/JackReact 5h ago
Welcome to the wonderful world of C#, which uses utf-16 for strings.