7: How To Create Namespaces In C# | C# Directories | C# Tutorial For Beginners | C Sharp Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024

ความคิดเห็น • 70

  • @DrJeanneMcIntosh
    @DrJeanneMcIntosh 4 ปีที่แล้ว +5

    God bless you honey. Just sat through an hour of distance learning and didn't know what the hell the instructor was saying. Five minutes of your video and all my questions are answered. You have a gift.

  • @eesveryowncarrzkiss8596
    @eesveryowncarrzkiss8596 5 หลายเดือนก่อน +2

    Absolutely fantastic.
    I learned a lot from this short clip.
    Keep it up!
    Subbed;

  • @thienvuong1560
    @thienvuong1560 5 ปีที่แล้ว +10

    Hi Daniel, I don't usually give comment but I have to express that your content along with your teaching style is very easy to follow, especially for a non- programmer like myself. I learned C# fundamentals from you much more than other sources that I had been struggling with lately. A bit pity to see your channel doesn't have that many subs.
    Thank you. All the Best !

  • @andrefouche9682
    @andrefouche9682 ปีที่แล้ว +16

    You are the first guy I find on TH-cam that explains all the little details without assuming that I know some stuff, brilliant.

  • @YLprime
    @YLprime 2 ปีที่แล้ว

    this guys is awesome i have been trying to understand how public and private works for a day and this dude explains it in like less than 5 mins

  • @gabris007
    @gabris007 3 ปีที่แล้ว +1

    Thanks. You put me in the right direction. Had trouble with this because I was doing this in a Windows Forms App project and got extra errors. All I needed to do was change the namespace in a designer class.

  • @browntulipsmedia3419
    @browntulipsmedia3419 5 ปีที่แล้ว +2

    I've been waiting for this. Thanks

  • @collinsey
    @collinsey 4 ปีที่แล้ว

    You have my respect too🙌🏾🙌🏾🙌🏾🙌🏾🙌🏾. Most of teachers always want to brag how they know things but you're humble 🙌🏾🙌🏾

  • @Duelweb
    @Duelweb ปีที่แล้ว

    Yep, you have a great talent for teaching Dani! How about a full course on Blazor Webassembly ?

  • @alangraton2000
    @alangraton2000 3 ปีที่แล้ว

    Holy crap, your teaching is really good ^-^ Thanks dude

  • @rayoh2011
    @rayoh2011 3 ปีที่แล้ว

    Excellent, very clear instructions. Thank you.

  • @michaellewis7920
    @michaellewis7920 4 ปีที่แล้ว

    Super underrated, love these vids mate!

  • @TyZo
    @TyZo 5 ปีที่แล้ว +1

    Hello Daniel,
    Thanks for another great tutorial! I can't wait to see what this series turns into. If it's early enough to make a request it would be awesome if you could go over C# Lists in depth. Possibly even reading a CSV into the list. I just finished taking a C# class in college and I feel like this subject wasn't focused on enough. LINQ would be great too.
    Thanks again.

  • @Dani_Krossing
    @Dani_Krossing  5 ปีที่แล้ว +12

    Hi everyone! Sorry about the long upload time.
    I was a bit busy with other projects that took up my work days, as well as surgery that left me bed written for a while.

    • @cleancodez
      @cleancodez 5 ปีที่แล้ว

      cool can you make Django or Python Tut if possible

    • @browntulipsmedia3419
      @browntulipsmedia3419 5 ปีที่แล้ว

      So Sorry. I hope you're okay now?

    • @john8998
      @john8998 5 ปีที่แล้ว

      You mean 'bedridden' buddy. Anyway welcome back we missed you :)

    • @martinmtandi335
      @martinmtandi335 3 ปีที่แล้ว

      I am sure you are now fine, thanks for making these tutorials. I am actually using them to prepare for a C# Developer Interview tomorrow.

  • @tumpperi3891
    @tumpperi3891 3 ปีที่แล้ว

    I watch these instead of uni resources, a lot better~

  • @hex614
    @hex614 3 ปีที่แล้ว

    Thank you for this Dani

  • @girmamoges941
    @girmamoges941 2 ปีที่แล้ว

    Excellent

  • @johnrobert3533
    @johnrobert3533 2 ปีที่แล้ว

    Awesome!

  • @DARKONATONI
    @DARKONATONI 4 ปีที่แล้ว

    God bless you dude! Many thanks!

  • @LordSevla
    @LordSevla 3 ปีที่แล้ว

    I wish you could focus more on those lessons instead of turning this into a gaming channel, just used your video to explain something to a friend and now he understand something I tried to teach him 3 times.

    • @Dani_Krossing
      @Dani_Krossing  3 ปีที่แล้ว

      I'm glad he found my video helpful 🙂 Sorry you dislike my choice of content, but it's what I enjoy doing.

  • @kingnehmna7810
    @kingnehmna7810 4 ปีที่แล้ว

    Thank you. Was exactly what I was looking for. =)

  • @이정후-z1g
    @이정후-z1g 4 ปีที่แล้ว

    Thank you for this video!

  • @dasigkatama029
    @dasigkatama029 4 ปีที่แล้ว

    thank you

  • @zacharykinsella4871
    @zacharykinsella4871 4 ปีที่แล้ว

    So helpful thanks!

  • @SumayaSameer
    @SumayaSameer 3 ปีที่แล้ว

    الله يوفقك

  • @reginamndii
    @reginamndii ปีที่แล้ว

    Zzort King the best fuckin coder in the world i just shitted myself, amazing job. Keep it up babeeeeeeeeee

  • @cleancodez
    @cleancodez 5 ปีที่แล้ว +2

    long time Daniel

  • @keithwilcox2548
    @keithwilcox2548 5 ปีที่แล้ว

    thanks so much!

  • @darkdoom907
    @darkdoom907 ปีที่แล้ว

    How can we add or change namespace of entire folder, without paid extensions?

  • @tarikudereje1374
    @tarikudereje1374 4 ปีที่แล้ว

    thank you i got it

  • @ryancrnich8449
    @ryancrnich8449 5 ปีที่แล้ว +1

    Make the php videos been waiting like mother over here. Where they at my man

  • @tnkspecjvive
    @tnkspecjvive 4 ปีที่แล้ว

    Nice!

  • @akidiman7325
    @akidiman7325 3 ปีที่แล้ว

    hi i couldnt find the solution explorer how do i open it?

  • @ajaybarkade9901
    @ajaybarkade9901 ปีที่แล้ว

    I'm not able to see the class after right clicking on my project

  • @vaclavkriz2509
    @vaclavkriz2509 5 ปีที่แล้ว

    Wouldn't it be better to do more videos together? If soemone wants to follow you and start learning C#, he probably already started as you created few videos. It would be much better to do maybe 5 videos at time when you focus on one specific thing in depth. I also think, there is a lot of tutorials like that, personally I'd prefer if you could teach while doing some simple app, maybe 1 hour video. I am pretty sure, people would learn much more things that from these videos. Its just my opinion, I highly appriciate your work. :)

  • @alhassanabdul-raheemgunjei1691
    @alhassanabdul-raheemgunjei1691 5 ปีที่แล้ว

    Please sir i need your help i have following you on youtube for learning web development but i am designing a website for music to uploading on it but how to design the admin pannel or to be uploading my songs and videos to it is now my bigs problem..please help me.
    many thanks
    kind regards

  • @acavaelnick
    @acavaelnick 4 ปีที่แล้ว

    Why can't we acces the Greeting() method after setting it to private if we are using it from an instance of the People class?

    • @Redmile2006
      @Redmile2006 2 ปีที่แล้ว

      private means you can only access it from within the class blueprint itself, not the object that you create from it. It has to be public to be accessible from an object instance, or possibly internal

  • @1negroup841
    @1negroup841 ปีที่แล้ว

    So The using Tags are namespaces?

    • @Dani_Krossing
      @Dani_Krossing  ปีที่แล้ว

      They tell the compiler which namespaces to look inside of, to find the classes you use in your code.

  • @rickpontificates3406
    @rickpontificates3406 2 ปีที่แล้ว

    But passing variables from one class to another is a ROYAL PAIN IN THE BUTT! So much easier when it's in ONE CLASS, in ONE FILE. And I write some serious code in Swift.

    • @Dani_Krossing
      @Dani_Krossing  2 ปีที่แล้ว

      It depends on how you look at it.
      In a larger project it is MUCH more beneficial not to deal with scripts and classes that are overly long and complex.
      Separating functionality into multiple classes is the exact reason why we use classes to begin with, and if you start going into the mindset of “it’s easier to keep everything in one place”, then you are describing Procedural programming hehe. 🙂
      And just a fun fact… Lately on TH-cam there has been A LOT of videos popping up, where devs are talking about “the bad habit programmers have of making classes too long, and not separating their code enough”.

    • @rickpontificates3406
      @rickpontificates3406 2 ปีที่แล้ว

      @@Dani_Krossing I agree to an extent. I see some big projects where the programmers went berserk and separated the code into such small files that it's ridiculous chasing code around.

  • @eleos5
    @eleos5 3 ปีที่แล้ว

    elon musk is a good teacher

  • @tullochgorum6323
    @tullochgorum6323 4 ปีที่แล้ว

    Coming from the world of Java IDEs, it's remarkable how poor the refactoring is VB. So when you move a class, you have to edit all the "using" references in other classes manually. Really?? How come the billionaires at Microsoft can't match Java IDEs that are open source or produced by a small company in St Petersburg? The refactoring in IntelliJ goes far, far beyond the features in VB.

  • @janbutala9519
    @janbutala9519 4 ปีที่แล้ว +34

    You definetly have the skills, don't give up on teachings !
    You got my respect dude!

  • @jaabrty
    @jaabrty 5 ปีที่แล้ว +4

    I wish we can see more Videos very soon. We have already missed you BIG D.

  • @spudtheblacklab1084
    @spudtheblacklab1084 5 ปีที่แล้ว +3

    Thanks man, totally just had a light bulb moment thanks to you. Seriously, why did it take so long for someone to just say out loud that namespaces are really just folders? ^_^

    • @spudtheblacklab1084
      @spudtheblacklab1084 5 ปีที่แล้ว +1

      so much sense being made rn

    • @Redmile2006
      @Redmile2006 2 ปีที่แล้ว +1

      Because namespaces are not folders. I think this video is actually wrong. I just put Person into the People folder and left the namespace as FirstProject and it still worked. The folder name has nothing to do with the namespace name unless you specifically decide to organize it that way, but you don't have to. You can separate files from the same namespace into different folders without any issue. Folder are for organizing the code, and namespaces are for organizing the library. Obviously there can be some overlap with that depending how you organize it, but they can be independent of one another. You could put Person into a folder called Monkey or something and still use the namespace FirstProject.People and it will work. In fact, I just tried it and it worked perfectly. But I think it's just something the IDE does for convenience automatically when you create a new folder and add a new generated class to it, but it's not necessary.

  • @codmn1824
    @codmn1824 2 ปีที่แล้ว

    Big brother i never had. Thank you.

  • @thehorsemen7721
    @thehorsemen7721 3 ปีที่แล้ว

    My brain is bleeding

  • @IsmaelMarcosMartínez
    @IsmaelMarcosMartínez 8 หลายเดือนก่อน

    Thank you

  • @curmudgeoniii9762
    @curmudgeoniii9762 3 ปีที่แล้ว

    Even for beginners your corse needs some work. Hopefully this is taken a constructive critism. Think the most helpful change would be to use one problem/solution from beginning to end. A example might be somethiing simple like adding user (your person)) info and add that to friend application. Hope this makes sense to you. For a beginner course in C# it is one of the beter ones. Then start working on and advanced course. And then possibly Expert. Best Regards

  • @TheSkepticSkwerl
    @TheSkepticSkwerl ปีที่แล้ว

    Coming from scripting languages this is immensely helpful.

  • @mohammedbrazi6313
    @mohammedbrazi6313 4 ปีที่แล้ว

    a salute u for what you've been doing BIG thanks very much from morocco

  • @MIILKEYS
    @MIILKEYS ปีที่แล้ว

    perfectly explained! Thank you!

  • @bluefyr22
    @bluefyr22 3 ปีที่แล้ว

    This is a great video, not a lot of other videos ive watched explain namespaces. Thank you!

  • @prakashdeepdas491
    @prakashdeepdas491 3 ปีที่แล้ว

    Thank you so much.... as I have been searching for this

  • @jmhg6482
    @jmhg6482 4 ปีที่แล้ว +2

    I’ve been looking for a video like this for so so long, so glad I found this vid, you speak so clearly and are very noob friendly. Thankyou

  • @mone9366
    @mone9366 2 ปีที่แล้ว

    Great tutorials! Short and clear!

  • @rickymartinez4622
    @rickymartinez4622 5 ปีที่แล้ว

    how do you do this in visual studio 2019??? I can't figure it out

    • @spudtheblacklab1084
      @spudtheblacklab1084 5 ปีที่แล้ว

      I think you're probably looking for Debug.WriteLine that displays its output in the Output window (Debug > Windows > Output) instead of Console.WriteLine

  • @xaedowulf
    @xaedowulf 4 ปีที่แล้ว

    Thanks Elon Musk! 👌