Continuing on from the previous page, we will now be using SplashKit to create a GUI (Graphical User Interface) Hello World program.
Create a project folder
Each C# project needs a new folder. Create a HelloGui folder for this one.
Copy the following code and paste it into your Program.cs file (replacing existing code) and then run your program using dotnet run:
Here is what the code above will create:
Yes… The program above was created using just 3 shapes - Rectangles, Ellipses, and Triangles! (Well… 4 if you count the last little Circle on the exclamation mark)