How to post code snippets


  • Admin

    For syntax highlighting you can use three backquotes ``` followed by the language name, then write all the code you want and finally close with 3 more backquotes.

    public void Greet(string name) 
    {
        Console.WriteLine($"Hello {name}!");
    }
    

Log in to reply