I am trying to learn c# on https://replit.com/, and found code online for drawing graphics to the screen.
The code used to work, but it doesn't anymore. Now anytime I run the following:
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Windows.Forms;
using System.Drawing;
public class Form1 : Form
{
//Code Here\\
}
I get the error:
>> dotnet run
/home/runner/Rope-Simulation/main.cs(4,22): error CS0234: The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) [/home/runner/Rope-Simulation/main.csproj]
I have tried looking through several sites including the .NET homepage, but nothing is working.
Also, It may help you to know that I haven't downloaded .NET, but am using the c# .NET version in replit.com.
Also, please don't give big complicated answers, I am a beginner in c# and am still learning the terms.