Hello to all, I'm have been porgramming console applicactions in C# to learn the language. Today I was curious in windows forms, and started a project. After searching in the web/youtube I see people putting all the code on the button code(when doubble click), BUT I saw there the same program.cs file that consoles apps have.My questions:
-Where does the code actually goes?code to solve math, connect to database, write something to a txt file etc?
-Shouldn't it go to the program.cs file? In a console app I usually put my code there and depending on the project I create new class files.
-That said, what is the program.cs file for?
I'm I doing this wrong on console applications? Is my first time learning OOP. Please can someone explain this to me?
I'm a bit confused!