Тёмный

Constructors | C# | Tutorial 26 

Giraffe Academy
Подписаться 306 тыс.
Просмотров 86 тыс.
50% 1

Source Code - www.giraffeacad... This video is one in a series of videos where we'll be looking at programming in C#. The course is designed for new programmers, and will introduce common programming topics using the C# language.
Throughout the course we'll be looking at various topics including variables, arrays, getting user input, loops, conditionals, object orientation and much more.

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 113   
@LH-to8bi
@LH-to8bi 6 лет назад
Damn, am I glad I found this channel, best explanation I've seen of this so far, just like your personality too bro, watching your videos makes me calm and stops me from being stressed about not understanding these things right away.
@anchalsharma5921
@anchalsharma5921 4 года назад
Same here
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 года назад
No joke. This guys incredible!
@achrafelassali2511
@achrafelassali2511 2 года назад
FR BRO
@aniketyadav5024
@aniketyadav5024 5 лет назад
After years of watching videos on RU-vid over the topic of Classes, Objects and Constructors, Finally found the best explanation on these topics in the form of this video series. Great Explanation!
@thatanimationfan9649
@thatanimationfan9649 Год назад
I 100% agree I've been in school learning code and this is the best explanation I've had
@bojohannesen4352
@bojohannesen4352 3 месяца назад
It took you years to learn what classes, objects and constructors are? Maybe coding is not for you.
@nyeman658
@nyeman658 Год назад
You really need to REALISE how life changing your content can be man, these are without any doubt the best C# tutorials out there. I really hope you continue with these, I would never take your tutorials for granted.
@ThatKidTony
@ThatKidTony 5 лет назад
Just a word of advice for anyone that may run into the same issue that I did. The class and the program have to share the namespace or else visual studio will not allow you to call that class. It was not explained in the previous video and it took me a bit to understand why it would not allow me to use the class.
@ranjanadissanayaka5390
@ranjanadissanayaka5390 8 месяцев назад
awsome Mike....you just cleared all the confusion I had with constructors
@angiepangieo
@angiepangieo 2 года назад
I can't even begin to say how relieved I feel now, I FINALLY understand!! I am so thankful for teachers like you.
@heartagram_andreea
@heartagram_andreea 3 года назад
What a great explanation - short and clear! I've been struggling to understand constructors for quite some time and now I can finally get what this is all about! Thank you!
@seccom_
@seccom_ 2 месяца назад
genuinely impressed that it doesn't have as many views and likes as it should have! these tutorials are amazing, you explain things very clearly (:
@thele99
@thele99 3 года назад
OMG. I graduated in 1996, before all this OO stuff came out (for C#). I've actually been using C# for 5 years, all self taught on the job. I've been using Constructors all this time, but I didn't know it was called "Constructor!"
@parkersmith3727
@parkersmith3727 Год назад
That’s hilarious the le. Awesome stuff
@shafialanower3820
@shafialanower3820 10 месяцев назад
How is the C# journey going for you right now?
@thele99
@thele99 10 месяцев назад
@@shafialanower3820 programming is fine as long as I stick to basics, but in general I find that there are a lot of terrible c# programmers that make their code too complicated or they take too many shortcuts and so the code is hard to decipher. A lot of times the code only does one thing and is broken up into 3 classes and a dozen functions, when it can really be done in one block of code. It's like the people who over normalize their dB. C# allows for a lot of shit programming.
@shafialanower3820
@shafialanower3820 10 месяцев назад
@@thele99 interesting do you ever tell them hey this can be written much shorter. Are they beginners or mid to senior level devs
@thele99
@thele99 10 месяцев назад
@@shafialanower3820 No no... the problem is that they do things shorter, when there is no need to. int ss; //Social Secrurity ss = SS(); //function to retrieve Social Security REALLY? C# douchebags do that shit all the time. It's frustrating. Makes sense to the coder, sure, but not to the guy who inherits it. I see this kind of shit all the time. Add a couple lines and make this more readable, and stop abusing case sensitivity please. Stupid c# programmers.
@chizobaharmonyugwa9882
@chizobaharmonyugwa9882 7 месяцев назад
Just starting out a career as a .net software developer and your vidoes are so helpful. Thank you, Mike.
@jjb5142
@jjb5142 5 лет назад
Great job brother, very interesting your tutorial either java, html, css or c#. thank's for your unpayable help.
@diegoarivera35
@diegoarivera35 9 месяцев назад
this guy is just a natural teacher, explains so well, its crazy how I tried to learn this before but just todays thanks to him I understood, Thanks a million!!!
@k-d699
@k-d699 Год назад
Great Videos !! Still watching these things
@goosefx5435
@goosefx5435 5 лет назад
straight to the point! best C# tutorials on youtube! thanks a lot Mike!
@mattj7265
@mattj7265 5 лет назад
Yep!
@musitappp
@musitappp 5 лет назад
Thank you so much bro, you are a good teacher!
@ronaldjohnson4470
@ronaldjohnson4470 6 лет назад
I am very happy I found your channel. I enjoy the way you present the material, thank you.
@aba22125
@aba22125 2 года назад
Nice tutorial, it cleared up a lot of confusion I had. Also doing this.Title = Title; is much better, since you can use the same variable name in the constructor.
@edwardfraser688
@edwardfraser688 Год назад
Brilliant! I've watched about four other 5 minuite vids on this subject and was still unable to not determine if / or why I might want / or need to use constructors. Your one video answered all my questions.
@adewaleayeseteminkan4201
@adewaleayeseteminkan4201 2 года назад
You are just the best man. I've been battling with a 6 hours of video on this topic without a solution. But you have given me the solution with just a few minutes of video. I love your videos...
@timupton3628
@timupton3628 2 года назад
Your the best programming teacher I have ever found and I’m in school.
@apsaranishendra1520
@apsaranishendra1520 5 лет назад
Hi Mike Dane, You are a good teacher. I learn C# easily. Those are very very helpful videos. I requesting you more lessons about Constructors. Thank you so much !!!
@serageibraheem2386
@serageibraheem2386 4 года назад
Finally, I found a video with 0 dislike on RU-vid - U r the best always
@sauravshrestha1890
@sauravshrestha1890 2 года назад
By far, the best explanation for the Constructors.
@sayedhussaini1233
@sayedhussaini1233 2 года назад
Thanks a lot for your videos, its all just great. Short, clear, and easy to understand. Keep it up!
@RonTDC
@RonTDC 3 года назад
I kinda had to know what constructors were for several months for my class but never knew. Now I do!
@user-te3qp2xc1n
@user-te3qp2xc1n Год назад
Bro you're such a good teacher, keep it up
@andreivictorbugnaru3579
@andreivictorbugnaru3579 Год назад
Thank you a lot for you talent to explain so well; I was trying to understand it from a teacher that can't explain, and in a different language that my native one...so your explanations was like a breath of air for me
@pieicx
@pieicx 4 года назад
thank you so much for the video. You explain it so much better than my Prof.!!!! : -). Understood constructor now thanks to you ^^
@lipejdc
@lipejdc 2 года назад
I was watching a tutorial about object oriented programming and I really didn't understand constructors much. Turns out it was not because I am stupid.. it was just badly explained and by watching this video I understood it easily. Thanks a lot!
@askl33
@askl33 3 года назад
Thank you for making a complicated subject easy to understand. Great videos and explanations!
@oscarthroedsson1410
@oscarthroedsson1410 Год назад
Love it! I would love examples that a little more advanced! Example working with inputs in windows forms or from a website
@JJ-kx8gi
@JJ-kx8gi Год назад
You make this so easy!!! Thank you 🥹
@Pindatje456
@Pindatje456 2 года назад
My dude bussin, thank allot. Clean explanation!
@jennifermckeithen1498
@jennifermckeithen1498 4 года назад
Dude, this is so helpful! I'm in a C# class (of the school type ;-) ) and just this morning I was thinking about how I feel like I've been dropped like a newborn giraffe! Then I find Giraffe Academy! Thank you!
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 года назад
Uhhhhh...
@brentarthur721
@brentarthur721 4 года назад
Great video! Simple, concise, easy to understand. You got yourself another subscriber here.
@DanneManne88
@DanneManne88 3 года назад
Very good videon on how constructors work. Mutch better then the text i read in programming in school :)
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 года назад
This helps me understand unity api stuff better. Thank you.
@asrbekmirsoatov7664
@asrbekmirsoatov7664 Год назад
everything is very easy with your videos
@bshwjt
@bshwjt 2 года назад
Awesome video Mike.
@tariqashraf7575
@tariqashraf7575 3 года назад
Mike you are a Great Teacher Thank you for sharing your time knowledge and video's
@reenyindiego5584
@reenyindiego5584 Год назад
Good and simple video, thank you.
@pembatamang7539
@pembatamang7539 2 года назад
Your videos have greatly helped, Thank you :)
@basepoint987
@basepoint987 4 года назад
You are simply great Mike , the best on youtube
@mmaranta785
@mmaranta785 2 года назад
Great explanation!
@malmedia9747
@malmedia9747 4 года назад
I always become excited to your tutorial. I understand very well
@gameshub9458
@gameshub9458 3 года назад
Awesome Explanation dude
@binjozoken6055
@binjozoken6055 2 года назад
Killer, killer, killer stuff. Thanks.
@attilaguba856
@attilaguba856 3 года назад
Very well explained! Thanjs
@jayamalaraut273
@jayamalaraut273 6 месяцев назад
Very helpful, thank you!!
@coco81828
@coco81828 4 года назад
“if you have any CONSTRUCTive criticism” :D
@hasanali9983
@hasanali9983 3 года назад
LOOOOL that well said, bro
@scottisitt
@scottisitt 4 года назад
Great video as always, Mike!
@Whitemoonwolf132
@Whitemoonwolf132 3 года назад
This makes SO MUCH MORE SENSE OMG. I'm taking the Treehouse C# course and... The explanation of most of the Object topics is... Lacking -. -
@Unknown-ki8yk
@Unknown-ki8yk 2 года назад
amazing explanation.
@zainab225
@zainab225 3 года назад
Best c# tut ever!
@user-ib6qs8eo5p
@user-ib6qs8eo5p Год назад
Great tutorial.
@StefanKo1224
@StefanKo1224 6 лет назад
You expalin good,thanks.It was helpfull for me
@aaronjohnson2215
@aaronjohnson2215 4 года назад
Can I use different name for constructor, like Booklet, so I'd do Book book1 = new Booklet(); ?? Otherwise I don't understand why Book is repeated on both sides.
@canaldopericles2167
@canaldopericles2167 3 года назад
thanks for the class.
@CodeWithTahaCWT
@CodeWithTahaCWT 2 года назад
This video helped me a lot, Thanks 🙏🏻
@srinivasaraoyp3640
@srinivasaraoyp3640 5 лет назад
Very nicely explained. Thank you.
@isaacl.quelemine8775
@isaacl.quelemine8775 Год назад
Very good guy👍
@athariealfuraih8115
@athariealfuraih8115 3 года назад
Thaaaaaaaank you soooo much !! I finally understand
@ranjanadissanayaka5390
@ranjanadissanayaka5390 8 месяцев назад
Thank you so much.
@tuckbuckk5465
@tuckbuckk5465 2 года назад
Great Video! you gained a sub
@alielnajjar8501
@alielnajjar8501 4 года назад
How can i let the user input objects, for example the user wants to add a new book with all its objects from console, how?
@osamashehab463
@osamashehab463 2 года назад
thank you very much Could you please make a video about "How to work with classes in a different file?"
@rayoh2011
@rayoh2011 3 года назад
Very nice, thank you!
@chile7743
@chile7743 Год назад
damn so simplified thanks
@sravanipulicherla9334
@sravanipulicherla9334 2 года назад
Hello Mike. I wanted to know how "this" keyword works. I dont understand where to use it. Every thing is simple when you explain. Thank you in advance.
@adityalochan7256
@adityalochan7256 3 года назад
Awesome
@jerrysiro2432
@jerrysiro2432 5 лет назад
can you make any videos using windowforms and mysql connections
@chris8534
@chris8534 2 года назад
After watching this video I now understand what sql is for.
@BilalAriturk
@BilalAriturk 2 года назад
Thank you : )
@insatiablegoddessg5300
@insatiablegoddessg5300 5 лет назад
the only tutorials I understand
@antoninobalinado6192
@antoninobalinado6192 10 месяцев назад
instead of adding a writeline inside the constructor then putting a fix parameter in an object, how can i use readline then input the value?
@tahidulmazumder9756
@tahidulmazumder9756 4 года назад
Thanks brother.
@Flaeren
@Flaeren 4 года назад
"tolkein". great explanation tho, thanks man.
@eievui84
@eievui84 4 года назад
omg you deserve more views!
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 года назад
So do u
@KiNGDiSMaY
@KiNGDiSMaY 4 года назад
skipping uni lectures and going straight to this :)
@aliksargsyan2782
@aliksargsyan2782 Год назад
I always prefer use "this" keyword
@joezhou7491
@joezhou7491 Год назад
So the name of the constructor and the class have to be the same? In this case “book”
@xrcryptodev
@xrcryptodev 4 года назад
So are constructors to classes like properties are to variables? Sort of?
@lorens7958
@lorens7958 2 года назад
Hey, this comment will be very late. If you want the user to type their name of the book in the program(Console). How can I parse the titels, pages and author with Constructor? Sorry if this coming late.
@saitejavetcha5574
@saitejavetcha5574 4 года назад
is always the constructor name and the class name is same?
@travisvotour3159
@travisvotour3159 4 года назад
Wondering if anyone knows what key-command he used at 8:08 to have only highlighted and copied one line- and then having it paste the other two.. am I missing something obvious here? I am taking a software development course in college and it is heavily based in .NET framework, C# in particular... but we have never been taught much about the shortcuts and finer points of VS
@mykolasd
@mykolasd 4 года назад
He edited the video after filming it. It just cut off, not a command.
@travisvotour3159
@travisvotour3159 4 года назад
@@mykolasd thank you haha. This was really bugging me as I use VS daily and couldn't understand what happened there. Appreciated!
@mzwakhemanga8621
@mzwakhemanga8621 3 года назад
Still impressed..
@sibisuruthit9622
@sibisuruthit9622 3 месяца назад
❤👌🏼🤝🏻
@murtazonumanov783
@murtazonumanov783 2 года назад
do you have another t-shirt?
@2kglenn
@2kglenn Год назад
7:13 why are someone writing : this.title = aTitle; ?
@ecerejo
@ecerejo 4 года назад
What theme are you using?
@DawnFreeSdiki
@DawnFreeSdiki 4 года назад
why the hackk you the only one who i can understand with
@countOfHenneberg
@countOfHenneberg 20 дней назад
Spelling Tolkien hey ho!
@Blackoutfor10days
@Blackoutfor10days 2 года назад
Bonk you 😡
@TheAmazeer
@TheAmazeer 4 года назад
2 constructors with the same name In the same class? Are you sure?
@user-ib1lu3kq8t
@user-ib1lu3kq8t 7 месяцев назад
Excessive talk is not the explanation and it is not the explanation You talk too much = losing the basic meaning
Далее
Object Methods | C# | Tutorial 27
7:31
Просмотров 44 тыс.
Classes & Objects | C# | Tutorial 25
13:25
Просмотров 171 тыс.
when you have plan B 😂
00:11
Просмотров 27 млн
Methods | C# | Tutorial 12
11:00
Просмотров 56 тыс.
the TRUTH about C++ (is it worth your time?)
3:17
Просмотров 692 тыс.
C# Constructors - This is how to use them, and WHY
8:00
Is JavaScript BAD for Beginners? | Let's Rant
14:53
Просмотров 41 тыс.
why are switch statements so HECKIN fast?
11:03
Просмотров 407 тыс.
Master C# Interfaces in 12 Minutes - Beginner Tutorial
11:37
C# constructors 👷
5:44
Просмотров 79 тыс.
Learn Any Programming Language In 3 Hours!
22:37
Просмотров 362 тыс.
when you have plan B 😂
00:11
Просмотров 27 млн