Hi. I’m Alex and, it looks like you’re
ready to learn how to program! Now, we all hate introductions, we just want to get right
into it, and I can understand that. But I’m planning on this being quite a long tutorial
series going over everything you need to know, and I don’t want to be wasting your time.
You see, this tutorial series is going to be really in-depth on computers and programming,
and… if you’re not really that interested in this… you might feel like you’ve wasted
a lot of your time. So, I’m just going to introduce what I’m planning, shouldn’t
take too long… and you can decide whether you’re going to be interested or not.
And, without further-a-do, let’s play the 10 second intro.
Right, then, let me just introduce this tutorial series, and then we’ll get our environment
setup for it. Can I just be clear first of all that if you
can already program, and you just want to go to a different “programming language”
this series is not for you, this series is for people who never programmed before, if
you already know how this stuff and just want to be moving to a different programming language,
take a look at… “Derek” here (link in the description) because, he won’t bore
you to death, which you will be if you already know all this stuff.
OK, with, that out of the way, for the first 3 or 4 videos, we’re barely even going to
write a line of code – and that’s because I want to make sure we’re understanding
what we’re actually writing in, and why the code that we will write does what it does.
Essentially, if I don’t go over this stuff – you won’t actually know where to go
after this series, you might have an idea of all the concepts you need for programming
but… You just won’t know what to do with all knowledge or how to apply it. So, in these
videos I’ll also go over the general logic of a computer, things like “the computer
does exactly what you ask it to do, nothing more nothing less”, and things like the
“Operating System”, what “Programming Language” means, “Why there are lots of
different programming languages”, “How the computer understands what you’ve programmed”
and all sorts of stuff like that I think will be really helpful for you down the line and
will help to really understand programming and computers.
So, don’t start thinking when you’re on, like, Episode 2 that we’re not going to
program, we are, it will just take a few episodes to get there.
Alright, well, I think that’s all the introduction we need, if you’re still interested, why
don’t we hop in and get ourselves setup? Now, if you’re on a mac, this process may
be different, and, I don’t have a Mac, but, you can probably work your way through this
yourself, what we need is we need Visual Studio – so, hop onto “visualstudio.com”. Once,
you’re here, you’ll see a screen like this, now, this website might change, but,
on this specific version, what you need to do is click on “Learn more”.
This will take you to a screen like this, now, if you’re on a PC, like I am here,
you can just leave it on “Windows” up here, but, if you’re on a Mac, you’ll
need to click on “macOS” up here and go through with that.
You need to put your mouse over this “Download Visual Studio” option here and click on
“Community”. You’ll need to launch this “vs_community.exe”
file here. And, After waiting a bit, you’ll get yourself
either a screen (after clicking on “Available”) like
this or a screen like this. If you get the screen on the left, just click on the “Install”
option next to “Community” here, and it should move over to the second screen. Now,
all of that I would generally expect you to have really figured out yourself, because,
don’t forget, this series is for people who can at least work their way around a computer.
But, this screen, I definitely do not. Now, this probably looks quite complicated, but,
don’t worry – all you need to for this tutorial series, is to tick “.NET desktop
development” – if you ever want to do more things with Visual Studio later, you
can always go back in and click on “Modify” and tick some more.
And, with that being ticked, just hit “Install”. This can take a really long time, really it
really depends on your internet connection, so you’ve got be patient.
And, with that being done, you should just be able to hit “Launch”, which will boot
up Visual Studio. You’ll get a screen like this, of course for you the section on the
left would be empty – now, we aren’t really going to be using this for the first 3 or
4 videos as I’ve already explained. But, let’s just make sure it’s all working,
so, I want you to click on “New Project” here, and you’ll get a bunch of options
like this, this will probably be a lot emptier for you since you only ticked one box earlier.
Now, we want a “Console Application”, and we want it to be “C#”, so, first of
all, click on the “Language” option here, and choose “C#”. Then, type in “Console”
in the search box, and we should see it here. Now, if you don’t have that, it’s likely
that you didn’t tick that box earlier, which you needed to do, so, what you need to do
now, is go back into the Installer, which you can access just by searching “Visual
Studio Installer”, and go into “Modify” for “Community” here, and make sure you
do tick the box. Anyway, assuming that you did, we want the
“.NET Framework” one, so, select that, and click on “Next”. And, finally, let’s
give it a name… Just call it “TutorialTest” really, it doesn’t matter, just don’t
put spaces in it please. And, click on “Create”, and, you should see something like this.
Awesome! Now, you do not need to understand what I’m typing yet, just copy this out.
Go in between these two what we call “Curly braces”, and hit ENTER, then type in “Console.WriteLine“,
then an opening bracket, two double quotes – not single quotes, which is a very common
mistake people make, and then a closing bracket and a semicolon.
Then, hit ENTER again, and type out exactly what I type out here.
Now, in between those two quotes up here, just type in “Hello World!” Great, you’ve
basically written your first program here, so, go up and hit “Start”, or press “F5”.
And, you should literally see “Hello World!”, if, you got that, that means everything’s
working so you can close it all down now and get ready for a whole series on how computers
work, and more importantly, how to program, and I’ll see you then in Episode 1.