Learn C#: Namespaces

Поділитися
Вставка
  • Опубліковано 27 сер 2018
  • In this lecture, you'll learn about namespaces in C#. Namespaces provide structure and quite a bit of utility. They are a fundamental concept to understand.
    To learn more about Covalence visit covalence.io
  • Наука та технологія

КОМЕНТАРІ • 28

  • @Summer_Dream3r
    @Summer_Dream3r 2 роки тому +18

    Probably the best explanation of namespace I've ever found. Thank you!

  • @zedsmelee
    @zedsmelee 2 роки тому +7

    Really great video. I truly appreciate when teachers show potential errors because conflicts, formatting and structuring can really throw a new developer (me at least). Cheers

  • @michaelmay3712
    @michaelmay3712 3 роки тому +3

    You explained this is a way that I understood it when previously I had been struggling with the concept of the difference between a namespace, a class, a method and so forth.

  • @MKYRENEE
    @MKYRENEE 3 місяці тому

    JS Dev new to C# Thank you for this video really learn a lot on getting the concepts straight.

  • @STFUC
    @STFUC 4 роки тому +4

    Hey man, thanks a lot for this video. It was a very concise and understandable explanation of namespaces and how we can interact with/use them. I especially like you showing the mistakes and explaining them. Subbing in, and hoping you've continued to make more tutorials(checking now).
    Either way, thanks!

  • @PollipoUbriacato
    @PollipoUbriacato Місяць тому

    Super clear! Thanks!

  • @giga_charge
    @giga_charge Рік тому +2

    Thanks! That was straight to the point

  • @TimSomero
    @TimSomero 4 роки тому

    Great quick overview!

  • @programmadore9588
    @programmadore9588 3 роки тому +2

    noob question: performancewise, how big is it "using system" vs only "system.console.writeline" when its only a small amount of commands from the library... i always see them importing the whole library but it doesnt seem elegant for just a couple of commands

  • @CreeperG0d
    @CreeperG0d 2 роки тому +1

    I undertood perfectly that's important for a program but I rly have trouble by doing the namespace. For some reason my program marks in yellow the part of Namespace, I've tried different ways, and is the same. Y is that so?
    Edit: It worked, but I'm still concerned abt the code marked in yellow.

  • @MoMoneyMoritz
    @MoMoneyMoritz 2 роки тому +1

    very succinct and clear. thank you

  • @harbooze
    @harbooze Рік тому

    Thank you really much, it helped a lot!

  • @PrabhjotSingh-ih7ku
    @PrabhjotSingh-ih7ku Рік тому

    Thanks a lot , your concept is really helpful ❤

  • @Cl8tn0822
    @Cl8tn0822 5 місяців тому

    Really good explanation

  • @johnconnor9787
    @johnconnor9787 5 місяців тому

    Amazing explanation

  • @bluemodize7718
    @bluemodize7718 2 роки тому +1

    Very simple and nice explaining

  • @kingiburu2778
    @kingiburu2778 3 роки тому

    Thank you for this

  • @rickpontificates3406
    @rickpontificates3406 2 роки тому +1

    The hardest part of C# for me is creating variables, where those variables reside within namespaces, are those variables persistent?, and passing variables between classes

    • @joeman123964
      @joeman123964 5 місяців тому

      use ref when passing parameters between classes

  • @somyamishra7730
    @somyamishra7730 Рік тому

    Well just a quick question why do we want to create nested namespace?? will there be any such scenarios?

    • @covalence-io
      @covalence-io  Рік тому +1

      The only real good reason for nesting namespaces is for structuring and organizing your code. You can have one namespace that may have some classes in it... then a namespace in that namespace that groups together another subset of classes

    • @somyamishra7730
      @somyamishra7730 Рік тому

      @@covalence-io okayyyyy... got it, but I can create a different file for that and use that namespace by applying using keyword. wont that be more easy and cleaner? and Thank you so much for the reply.

    • @covalence-io
      @covalence-io  Рік тому +1

      @@somyamishra7730 no problem at all! you can create as many files as you want :) really just depends on how you prefer to organize your code; but generally having more files is better to help segregate your code as long as it makes sense

    • @somyamishra7730
      @somyamishra7730 Рік тому

      @@covalence-io Okay, different ways to do things. Thank you so much for answering my question, your videos are really helpful , I get to learn alot 😊.

  • @ramonkuiper9944
    @ramonkuiper9944 Рік тому

    great video

  • @mugiwara-no-luffy
    @mugiwara-no-luffy 2 роки тому

    noice 👍