Uploaded March 2023 | Updated September 2026, 2 hours ago
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: github.com/llamacademy
๐ท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
๐ Resources:
๐ Assembly Definitions Tutorial: youtu.be/qprZHOPu2OI
๐ Microsoft C# Namespace Documentation: learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/namespace
๐ Namespaces Fundamentals: learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/namespaces
๐ Naming Namespaces Guidelines: learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces
๐ Namespaces Technical Documentation: 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.
Chapters:
00:00 What are Namespaces?
00:54 Do You Need Namespaces?
01:29 Practical Example
02:45 "Sub-namespaces"
04:06 Next Steps, Closing Thoughts, & Support LlamAcademy
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: github.com/llamacademy
๐ท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
๐ Resources:
๐ Assembly Definitions Tutorial: youtu.be/qprZHOPu2OI
๐ Microsoft C# Namespace Documentation: learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/namespace
๐ Namespaces Fundamentals: learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/namespaces
๐ Naming Namespaces Guidelines: learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces
๐ Namespaces Technical Documentation: 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.
Chapters:
00:00 What are Namespaces?
00:54 Do You Need Namespaces?
01:29 Practical Example
02:45 "Sub-namespaces"
04:06 Next Steps, Closing Thoughts, & Support LlamAcademy










