diff --git a/README.md b/README.md index 2e4190e..5ce32fc 100644 --- a/README.md +++ b/README.md @@ -49,26 +49,25 @@ the command won't work. ```csharp using Raylib_cs; -namespace HelloWorld +namespace HelloWorld; + +class Program { - static class Program + public static void Main() { - public static void Main() + Raylib.InitWindow(800, 480, "Hello World"); + + while (!Raylib.WindowShouldClose()) { - Raylib.InitWindow(800, 480, "Hello World"); + Raylib.BeginDrawing(); + Raylib.ClearBackground(Color.WHITE); - while (!Raylib.WindowShouldClose()) - { - Raylib.BeginDrawing(); - Raylib.ClearBackground(Color.WHITE); + Raylib.DrawText("Hello, world!", 12, 12, 20, Color.BLACK); - Raylib.DrawText("Hello, world!", 12, 12, 20, Color.BLACK); - - Raylib.EndDrawing(); - } - - Raylib.CloseWindow(); + Raylib.EndDrawing(); } + + Raylib.CloseWindow(); } } ```