All right.
Welcome back.
In this video we're going to set up our first project.
So let's have a look at what we can see here.
So this is the mask that will open up the pop up once you start Visual Studio.
And you haven't had an open project recently.
So here you can go ahead and create a new project.
And that's what we're going to do.
So once you click on that you will find that you need to select the templates that should be used.
So here I'm just going to keep it simple I'm going to use this console app.
This one right here where it says C sharp here at the top corner not VB which is Visual Basic.
We're interested in the C sharp part of it.
So we're going to select just that.
Then go ahead and click next.
And you can give this application a name I'm going to call this one Hello World.
And as I already have a Hello world I'm going to call it Hello World two.
Okay so you should call this Hello World.
You can change the location where you want this to be stored by clicking on the three dots.
And then you can select a separate folder if you prefer that.
And then at that point we can go ahead and click on next.
Here you can then select the framework that you want to use.
As I only installed dotnet eight in the last video, I only have dotnet eight as the solution here,
which is great because it offers long term support.
So your software will work flawlessly for years to come.
And then to keep it simple, we're going to not check any of these two boxes.
So let's go ahead and click on create.
I'm going to show you what these two boxes are later on.
Because it only makes sense once you actually have started the app and seen how it is without it, to
then understand what it does.
All right.
And there we are.
We have our first little software.
So you see, by default we have two lines of code inside of our program.
And let me scroll in so that you can see it a little better.
You can zoom in by either clicking here at the top left side and select the percentage that you would
like, or you can press control and scroll in.
And this will also allow you to make the text appear bigger, which is making it a lot easier to read.
So let's focus on this part here where our code is going to subside in, and you can see that it directly
says console dot write line.
Hello world.
Now this is the default code that you write.
Whenever you build a first code in a new programming language, you always first try to display Hello
World somewhere and we're going to display it on the console.
What is the console?
Well, let's run our code by clicking on this button at the top here to see what the console is.
And after a few seconds it starts this little console.
Here you can see it says Microsoft Visual Studio Debug Console.
So this is our program.
So this is our first program that we have developed.
And it says hello world.
Okay.
Now you can press any key to close this window.
So whenever you press any key it will close the application.
That's how it is built.
Very very simply built.
Now we can replace the text inside of these parentheses here in order to display something else.
So I'm going to say hello Dennis here instead and let me run my program again.
And you can see that now it says hello Dennis.
So that's already it.
That's pretty much how we create our first project and run our first code.
And I would recommend that you try this out.
Change the text that is written here and run the code with your own name or whatever text you want to
display onto the console.
Now what this right line does, what this green stuff does and so forth is what we're going to look
at later.
So see you in the next video.