Namespace Keyword in C# & Unity Explained 💻 Creating a Namespace Tutorial With Examples

preview_player
Показать описание
Today, we are talking about namespaces in C#. We'll discuss what they are and how to use them in your code

_ 🎬 Video

We'll start by looking at the definition of namespaces in the Microsoft docs

We also have a look at the 'using' directives and how to use them along with namespaces

_ 🔴 YouTube

The docs over-complicate a fairly basic topic in my opinion Ace, and we do read through quite a lot of docs text

I personally like doing this Ace, since it shows the docs can be a little bit too wordy when explaining a topic.

_ 🎼 Music
◽ Title 🖋️ Queen of the Night
◽ Composer 📀 Per Kiilstofte [Machinimasound]

After all that reading, we jump into Unity and Visual Studio to see the namespaces in action

I'll show you how to declare your namespace, and how to correctly use your class from within that namespace

_ ☁️ Channel-Files

I'll also show you how to use the 'using' directives along with your namespaces Ace

I even say that you have to declare all your 'using's at the start of your file (not doing this causes an error by the way :) )

_ 🔥 Unity-Spice

As always Ace, I want to thank you so much for your continued support, with your comments, ratings and subscriptions. It really means a lot to me and keeps me motivated to create these videos for you

Enjoy :)

🔷 My Gear 🔷 Affiliate Links ✔️
_ 📺 Monitors
◽ Acer 21.5'' LCD Monitor ✔️
◽ Samsung 27'' LED Monitor ✔️
◽ AOC Monitor ✔️

_ ⌨️ Keyboards
◽ Apple Magic Keyboard ✔️
◽ Apple Magic Keyboard Small ✔️

_ 🎤 Recording
◽ Zoom H1 Recorder ✔️
◽ Rode Smartlav+ Lavalier Microphone ✔️
◽ Elgato Game Capture HD60 ✔️

_ 💽 Hard Drives
◽ Seagate 2TB External HD ✔️
◽ Samsung 250GB SSD ✔️
_ 💻 Computers
◽ Microsoft Surface Pro 4 ✔️

_ 💾 Software
◽ Adobe Creative Cloud ✔️
◽ Zenmate VPN ✔️
Рекомендации по теме
Комментарии
Автор

I watched a lot of videos about namespace and this is the only one I could understand how to work with namespace and how to use it. Thank you for your work.

Tumanop
visit shbcf.ru