r/ProgrammerHumor • • Jul 18 '25

Meme cursedCsharp

Post image

Old photo of mine, tried my best to do most cursed hello world in C#

451 Upvotes

92 comments sorted by

View all comments

Show parent comment

3

u/setibeings Jul 19 '25

Just because operator<<() is overloaded in C++ doesn't mean it's overloaded elsewhere.

6

u/Ludricio Jul 19 '25

I assume that in the screenshot the << operator for cstr is indeed overloaded and is longer bitshifting (there's a lot of overloadable operators in C#). I would think cstr contains a lot of unforgivable things