 Hello guys, CryptoGround here. Welcome to the first episode of the C-Sharp Crash Course video. Today we're going to be doing namespaces. If you enjoy this video, make sure you smash the like button, subscribe to the channel, and turn on those notifications. Comment your suggestions and all your questions below, or any feedback. That would be awesome. And check out my videos in the top right corner. My name is, let's hop into it. So right now I'm using JetBrains Rider, which costs money. So if you can't afford it, I would highly recommend using Visual Studio Community Edition. Okay, so we're going to be creating a new solution that should be similar to Visual Studio. And we're going to be creating a console application, Crash Course. Okay, now we can create a Git repository. I don't know if you can in Visual Studio, but in here you can. What basically what it does is that you can see the history of your changes, which is really nice. And our language is C-Sharp. And we're going to use the core app v2.1 framework. Okay, so once it's done, it should create a folder right here, which is called Crash Course. And we have our Git, our idea, which is a folder for our IDE. And we have our Crash Course folder, which is where all of our stuff is. Okay, and we can see that in here too. So we start with program.cs. So what is a namespace? Basically, a namespace is a way to organize code for its purpose in groups. So you can have more than one namespace. So you can have, for example, extendable. And in order to add a namespace to your class or your script in general, you just got to use the using term, and then the namespace. So now we can use extendable inside Crash Course, or a namespace for Crash Course. Now, I don't want to get too complicated into this because we just, I don't want to explain classes yet. And I'll get into that in the future, and doing stuff with our extra namespaces. So just know I'm going to be building on to this. Okay. So in order to let's say you want to use math related stuff, you just got to do type in using system, the system namespace. Okay, so then now if you want to use any of systems classes, we can simply do math dot here, we can do, for example, math dot absolute negative one, and this will print out negative one here, we can build it and run it and it should print out negative one, or one, sorry, because this makes the negative positive. So I'll dive deeper into what console dot right line is used for. I mean, obviously, it's to print out stuff and more things you can do with that. Okay. And also another thing you can do with namespaces is you can have nested namespaces, or let's say you want to group things even more. Okay. So now in order to use this namespace in here, you can type in using extendable dot extendable nested, just like that. So now you can use certain things from here. And let's say we have two. Okay, we can just name this extendable method, or, yeah, nested one and two. Okay, so let's say you have things in here, and different things in here, but you only want this to be accessed in certain parts instead of rather being wherever. So what we can do here is, is what we can do here is we can have extendable dot extendable nested one and two. Okay, so now if we only want to use one, sure, we'll just delete this. Okay, and then we if you want to use this one for a different class, or a different script, then you can, you know, import that namespace like that. Okay, I hope this video was helpful and I hope you enjoyed it. If you did, make sure you smash that like button, subscribe to my channel and turn on those notifications if you're new. And if you got any questions, just drop your comment down below and I'll be sure to check it out. Also, if you want to support me, make sure you check out my Patreon, which is down in the description below. If you want to register for membership under my channel to support me, you should see that right next to my subscribe button. Anyways, thank you guys for watching. Peace.