Namespaces in C# by Unity Example | Beginner Unity Tutorial

Namespaces in C# by Unity Example | Beginner Unity Tutorial

5.342 Lượt nghe
Namespaces in C# by Unity Example | Beginner Unity Tutorial
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. 👨‍💻 Unusually, since we are talking conceptually, not with a specific implementation 🏷️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 🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support: 🌟 Patreon: https://www.patreon.com/llamacademy 🌟 YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video 📚 Take my Unity ShaderGraph Course: https://www.gamedev.tv/p/unity-shader-graph?affcode=45216_kuvg0bp7 👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/ 💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4 💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publisher-sale?aid=1101l9QvC (affiliate) 💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC (affiliate) 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