this post was submitted on 03 Sep 2024
461 points (99.1% liked)

196

16442 readers
1855 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.