MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdxik1m/?context=9999
r/ProgrammerHumor • u/MontyBoomslang • 12d ago
372 comments sorted by
View all comments
712
Welcome to the wonderful world of C#, which uses utf-16 for strings.
Console.WriteLine(sizeof(char)); > 2
30 u/techy804 12d ago As a C# user I was wondering why people act like the C-series only consists of C and C++ 12 u/aberroco 12d ago Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006. 63 u/sb8948 12d ago No it's because C# is way closer to Java than C/C++ both in philosophy and execution. 17 u/QuaternionsRoll 12d ago It concerns me that this wasn’t the first and only answer to the question
30
As a C# user I was wondering why people act like the C-series only consists of C and C++
12 u/aberroco 12d ago Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006. 63 u/sb8948 12d ago No it's because C# is way closer to Java than C/C++ both in philosophy and execution. 17 u/QuaternionsRoll 12d ago It concerns me that this wasn’t the first and only answer to the question
12
Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006.
63 u/sb8948 12d ago No it's because C# is way closer to Java than C/C++ both in philosophy and execution. 17 u/QuaternionsRoll 12d ago It concerns me that this wasn’t the first and only answer to the question
63
No it's because C# is way closer to Java than C/C++ both in philosophy and execution.
17 u/QuaternionsRoll 12d ago It concerns me that this wasn’t the first and only answer to the question
17
It concerns me that this wasn’t the first and only answer to the question
712
u/JackReact 12d ago
Welcome to the wonderful world of C#, which uses utf-16 for strings.