Namespaces in C# by Unity Example | Beginner Unity Tutorial




Published: 28 Mar 2023

In this tutorial you'll learn about what namespaces are, how they are helpful, and when to use them!


Namespaces are a fundamental concept in C# that allow us to organize our code into logical segments. All C# classes are within a namespace either explicitly or inherently. If you don't explicitly define one, the class goes into the "global" namespace.


🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂

👨‍💻 No GitHub repository for this one, but you can find all of my projects for FREE on GitHub: https://github.com/llamacademy

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Resources:

🟠 Assembly Definitions Tutorial: https://youtu.be/qprZHOPu2OI

🟠 Microsoft C# Namespace Documentation: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/namespace

🟠 Namespaces Fundamentals: https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/namespaces

🟠 Naming Namespaces Guidelines: https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces

🟠 Namespaces Technical Documentation: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/namespaces


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.