Namespace and Assembly in C# - Where is the difference?

Sdílet
Vložit
  • čas přidán 12. 06. 2024
  • 🔥 A namespace and an Assembly are two different things, but, they do have things in common! Somewhat... Well, I think you should watch the video.
    🚀 SKYROCKET your C# skills and become a sought-after C# developer with our C# Progress Academy: www.udemy.com/course/master-f...
    👊 Want more C#? Check out our FULL C# Masterclass! www.udemy.com/course/complete...
    Timestamps:
    00:00 Introduction
    00:19 So what are namespaces?
    01:00 Nested Namespace?
    01:38 Namespace Alias
    02:30 Namespace example
    04:10 Why use namespaces?
    04:24 I think you need this one here
    04:57 Example use case for namespaces
    06:19 Alright, so now, what is Assembly? How do they compare to Namespaces?
    07:50 So, in summary, what are they?
    08:03 Hope this helped! Thanks for watching!
    We'll make sure to make a Developer out of you in no time!
    So, what is C#?
    C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.
    And what is a namespace?
    The namespace keyword is used to declare a scope that contains a set of related objects. You can use a namespace to organize code elements and to create globally unique types.
    File scoped namespace declarations enable you to declare that all types in a file are in a single namespace. File scoped namespace declarations are available with C# 10.
    The compiler adds a default namespace. This unnamed namespace, sometimes referred to as the global namespace, is present in every file. It contains declarations not included in a declared namespace. Any identifier in the global namespace is available for use in a named namespace.
    And what is an Assembly?
    Assemblies are the fundamental units of deployment, version control, reuse, activation scoping, and security permissions for .NET-based applications. An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. Assemblies take the form of executable (.exe) or dynamic link library (.dll) files, and are the building blocks of .NET applications. They provide the common language runtime with the information it needs to be aware of type implementations.
    In .NET and .NET Framework, you can build an assembly from one or more source code files. In .NET Framework, assemblies can contain one or more modules. This way, larger projects can be planned so that several developers can work on separate source code files or modules, which are combined to create a single assembly.
    To learn more, make sure to watch the video, and we promise you that you'll become a C# developer by the end of the course! Have fun!
    #csharp #coding #tutorial #learn #microsoft #net #async #await
    TAGS
    Tutorials,Tutorial,Programming,Course,programmer,denis panjuta,namespace c#,visual studio,c sharp,visual studio 2022,namespace,c# tutorial for beginners,c# tutorial,c# namespaces,c# namespace,namespaces,.net core,namespaces in unity,assembly c#,assembly,gac,assembly in c#,java,software engineering,web development,visual studio code,interview questions and answers,programming,game development,gamedev,mvc,Namespace and Assembly in C# - Where is the difference?
    tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
    This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
    Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x
    C#: / @tutorialseuc
    Facebook: / tutorialseu-1093802040...
    LinkedIn: / tutorialseu
    Discord: / discord

Komentáře • 9

  • @tutorialsEU
    @tutorialsEU  Před rokem

    🔥 A namespace and an Assembly are two different things, but, they do have things in common! Somewhat... Well, I think you should watch the video.
    🚀 SKYROCKET your C# skills and become a sought-after C# developer with our C# Progress Academy: www.udemy.com/course/master-fullstack-web-development-with-angular-and-csharp-aspnet/?couponCode=21DCYT
    👊 Want more C#? Check out our FULL C# Masterclass! www.udemy.com/course/complete-csharp-masterclass/?couponCode=CSMSYT23JUNE
    📚 Or do you like to learn through BOOKS more? We got you covered!
    mng.bz/M5an
    We'll make sure to make a Developer out of you in no time!
    Let us know in the comments what you would like to see next!
    Happy Coding!

  • @PrinceMalvi-ce9sv
    @PrinceMalvi-ce9sv Před měsícem

    Thank you @tutorialEU! Your explanation is very easy, simple and brilliant and it helps me a lot 😊

  • @dmbrv
    @dmbrv Před rokem +1

    Awesome video. Too many times tutorials assume you already know stuff and also they show how to do it but don't explain why. Thanks.

  • @Mo-Ayoub
    @Mo-Ayoub Před 5 měsíci

    Thank you mate!

  • @tarushisewal
    @tarushisewal Před 6 měsíci

    Thank you so much you explained well 🎉🎉

  • @bradleyr4451
    @bradleyr4451 Před 11 měsíci

    Hi thanks for the great videos and your Udemy course, very easy to follow. Some people use alot of "ummm" and "uhh" in their sentences and you dont, thank you again! Im looking for code in C# that you create a library in one machine of various functions and in your machine you have that other machine defined at some IP address, connection strings, pwd. then on the main machine you want to run your printer and call this function that lives on the other system and instantiate it and run it?
    And similarly, your main machine has some interface like bluetooth and gets some data values and you call something that sends this data to a function in the other system, once called it processes the data? is this Remoting? thanks so much

  • @Universal-Code23.
    @Universal-Code23. Před 11 měsíci +1

    Hi can you please tell which path I choose in c# language? Web development or app development

    • @reiayanami1441
      @reiayanami1441 Před 3 měsíci

      basically you can do both, also for making computer game

  • @LA99404
    @LA99404 Před 12 dny

    The background music makes it hard to focus on content