Why does this work?

You can always edit the initial post.
Also use code tags for large pieces of code. It is more readable that way.
Now you’ve lost all formatting, no line numbers just a wall of text.

It is also on the toolbar. Pick the left one for large blocks of code. The right one is for small lines.
7958172--1019847--upload_2022-3-12_2-0-7.png

Code Block:

public class Foo
{
    public void Bar()
    {
 
    }
}

Inline:
var number = 1.23456f

2 Likes