this post was submitted on 05 Apr 2025
142 points (87.8% liked)

Programmer Humor

22537 readers
1080 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] vithigar 4 points 1 week ago

C# also has verbatim strings, in which you can just put a literal newline.

string foo = @"This string 
has a line break!";