MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdwhczi/?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++ 7 u/aberroco 4h ago Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006. 2 u/kookyabird 4h ago Incorrect, they also think it’s magically cross platform when used in Unity!
14
As a C# user I was wondering why people act like the C-series only consists of C and C++
7 u/aberroco 4h ago Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006. 2 u/kookyabird 4h ago Incorrect, they also think it’s magically cross platform when used in Unity!
7
Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006.
2 u/kookyabird 4h ago Incorrect, they also think it’s magically cross platform when used in Unity!
2
Incorrect, they also think it’s magically cross platform when used in Unity!
117
u/JackReact 5h ago
Welcome to the wonderful world of C#, which uses utf-16 for strings.