this post was submitted on 03 Sep 2024
469 points (99.2% liked)

196

16423 readers
1971 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 months ago (1 children)

It was school work. All I needed was some proper visual indentations and a monospaced font.

[–] [email protected] 21 points 2 months ago* (last edited 2 months ago) (1 children)

Right, so Notepad.

The indentations in Word won't be "proper;" they're based on physical dimensions, not characters.

[–] [email protected] 1 points 2 months ago (1 children)

Like I said, all I needed was visual indentation. C# doesn't have significant whitespaces. As long as you account for all of the braces and semicolons, you could write an entire program in a single line.

[–] [email protected] 3 points 2 months ago

Right.

In Notepad.