This video will deepen the difference between applications and Windows Forms and console applications. In fact, when I started programming in Visual Studio. Net I always wondered for months what these were Console application. A 'console application is nothing but an application without interface. I am applying through which you can interact through a simple text input. In the console, as we saw in the video above is an application from the command line. I made this as a Windows Forms As we can see has a clear interface and although very sparse, very simple that there are two text boxes, a button and two labels. The purpose of this application is to collect basic information about you such as your name, address, and then show them the video via a MessageBox window, by pressing this button.
Let's see what the practical effect. I enter my name, asked me to also enter the name and pressing the button a new window appears showing your name, address together. As mentioned the Windows Forms application is an application with an interface. Now we try to replicate the same logic as a console application, already prepared. As we can see you can not design the interface of this application because the console application, as already mentioned lack of interface. So we only display the button code. E 'can only work on the code while in the Windows Forms, you can be working on the code on the engine then the logic of the application interface. This double aspect of code back to the application console interface and try to see how it behaves. So I asked the name, I'll add my name to which this application is also able to recognize my full name. So with regard to the logic we are in the sense that the two applications are the same. So this shows that with only an application and in any case is a valid point of view of logic and especially useful when you want to create applications such as application of study just because you can focus on motor on the application logic that is the basis for the application and instead of neglecting the aspects that are secondary such as the interface and interaction with the user and so on