Программа Button в сообществе VS2019
Привет,
Я пытаюсь написать программу button в visual studio 2019, которую я только что установил.
Я получаю следующую ошибку:
The type or namespace name 'Forms' does not exist in the namespace 'System.Windows'(are you missing an assembly reference)
Мой код выглядит следующим образом:
using System; using System.Drawing; using System.Windows.Forms;//this line is giving error namespace Button1 { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
Что я уже пробовал:
Ничего, это моя первая попытка.