C# methods 📞

  Рет қаралды 56,179

Bro Code

Bro Code

Күн бұрын

Пікірлер: 56
@BroCodez
@BroCodez 3 жыл бұрын
using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { // method = performs a section of code, whenever it's called "invoked". // benefit = Let's us reuse code w/o writing it multiple times // Good practice is to capitalize method names (I forgot in this video) String name = "Bro"; int age = 21; SingHappyBirthday(name, age); Console.ReadKey(); } static void SingHappyBirthday(String birthdayBoy, int yearsOld) { Console.WriteLine("Happy birthday to you!"); Console.WriteLine("Happy birthday to you!"); Console.WriteLine("Happy birthday dear " + birthdayBoy); Console.WriteLine("You are " + yearsOld + " years old!"); Console.WriteLine("Happy birthday to you!"); Console.WriteLine(); } } }
@pochidenki9909
@pochidenki9909 3 ай бұрын
You're the first one that succesfully explained how methods and arguements work to me. Thanks Bro!
@gillesherpoel1454
@gillesherpoel1454 2 ай бұрын
Just a random comment of thankfulness. i dealt with a burnout for two years and now i'm very rusty. you're course is picking my knowledge up so fast. thanksss
@MonLes-xt7gc
@MonLes-xt7gc Жыл бұрын
It's such a joy to finish a full tutorial in a day.
@zachteel1502
@zachteel1502 7 ай бұрын
Loving how well you lay out your videos. They are so descriptive and also so concise and easy to follow. Thank you so much for all your work!
@ryanncushway8384
@ryanncushway8384 2 жыл бұрын
Your work is appreciated!
@goldenforex0
@goldenforex0 Жыл бұрын
You just earned a new sub, Your work is easy to understand! Lovely💙
@haxor-lt5pn
@haxor-lt5pn Жыл бұрын
Best tutorial yet on this topic, thank you
@nononnomonohjghdgdshrsrhsjgd
@nononnomonohjghdgdshrsrhsjgd Жыл бұрын
Very good course! I hope you explain later what is static, void, visual studio environment (creating files, types of files and application)
@Alexhusen4607
@Alexhusen4607 4 ай бұрын
I love your videos it’s really special when you are explaining
@Celebros9
@Celebros9 Жыл бұрын
Hey man, I have just seen you are using VS code but what I am intrigued about is your setup. As I am starting with C# and I am also using VS Code I would like to ask you if you can give me some hints regarding Diagnostic tools, call stacks and all other extensions you are using as I find them very useful and would like to set it up for C# (or perhaps for other programming language) as well. Many thanks!
@South_Host_3503
@South_Host_3503 9 ай бұрын
he is using vs community
@kpowerbg
@kpowerbg Жыл бұрын
the best explanation to methods I have seen so far !!
@Kadasoyio
@Kadasoyio Ай бұрын
Such an excellent and easy to follow explanation. Thank you!
@spartanranger
@spartanranger 3 жыл бұрын
Thanks for the video brother
@austinsutton6923
@austinsutton6923 9 ай бұрын
This actually helped so much, thank you 🙏🙏🙏
@lukey4670
@lukey4670 Жыл бұрын
goated channel, saving me so many headaches. thanks man 😁
@blanketparty5259
@blanketparty5259 Жыл бұрын
You are a wizard at explaining this stuff man , do you do classes?
@cunkycakes
@cunkycakes Жыл бұрын
These are his classes 😂
@ZeeWolfed
@ZeeWolfed Жыл бұрын
3 word: YOU ARE AWSOME !! Extra word Thank BRO
@oliver970
@oliver970 Жыл бұрын
Bro writes Java style in c# like a boss
@saihajmann6622
@saihajmann6622 Жыл бұрын
funny glitch, my video is stuck looping the clicking class. I can't move forward or back to escape.
@annecabrera345
@annecabrera345 2 жыл бұрын
super helpful, Bro
@lmash226
@lmash226 5 ай бұрын
Thank you so much! You LITERALLY saved my ass!😭
@SleepyBombay
@SleepyBombay 2 жыл бұрын
your the best this is the most helpful playlist ur a g man
@FarukqO
@FarukqO Жыл бұрын
awesome bro code, keep up the good work
@Stine293
@Stine293 Жыл бұрын
thanks, bro
@dHeIoxy
@dHeIoxy Жыл бұрын
good job Bro
@genevievebennett8983
@genevievebennett8983 3 жыл бұрын
these vids need more views
@parhamyadollahi6279
@parhamyadollahi6279 10 ай бұрын
class Program { static void Main(string[] args) { // Example usage: // Creating an array of objects object[] objectsArray = new object[] { new Car(), new Person(), // Add more objects of different types here }; // Calling the static function with the array of objects AssistObjects(objectsArray); } static void AssistObjects(object[] objects) { foreach (var obj in objects) { if (obj is IAssistable assistableObject) { assistableObject.Assist(); } } } } // Example classes implementing the IAssistable interface interface IAssistable { void Assist(); } class Car : IAssistable { public void Assist() { Console.WriteLine("Car is providing assistance."); } } class Person : IAssistable { public void Assist() { Console.WriteLine("Person is providing assistance."); } }
@coreyb1102
@coreyb1102 Жыл бұрын
Thank you!
@Lulzsek
@Lulzsek 2 ай бұрын
Thank u Dear BRO :)
@Samytalkss
@Samytalkss 11 күн бұрын
You're the best
@enespinar9711
@enespinar9711 11 ай бұрын
Bro that was impressive
3 жыл бұрын
Thanks Bro!
@CầnbiếtKo-k5i
@CầnbiếtKo-k5i Жыл бұрын
theo tôi nghĩ thì 1 kênh youtobe hướng dẫn học mà không có sự tương tác giữa người dạy và người học thì sẽ không sống lâu đâu !
@bdn1110
@bdn1110 2 жыл бұрын
Thanks 👍
@Killer-lv2wf
@Killer-lv2wf Ай бұрын
what if i want to calculate something in the method and then send the result to main how would i do that
@eastern815
@eastern815 10 ай бұрын
👍
@simik4830
@simik4830 4 күн бұрын
algorithm!
@whitedinamo
@whitedinamo 2 жыл бұрын
lesson check😇
@budderrar5751
@budderrar5751 Жыл бұрын
noice
@jafargamer8142
@jafargamer8142 2 жыл бұрын
If i want to ask for age in the mathed how can i do that?
@ahmedhassan5783
@ahmedhassan5783 10 ай бұрын
done!
@cga01nuwa
@cga01nuwa 4 ай бұрын
random comment below
@yasinsahinkaya2755
@yasinsahinkaya2755 8 ай бұрын
how to be if ? like this if(singHappyBirthday()=true) {Console.Writeline("yep")}
@איתןישייב
@איתןישייב Ай бұрын
random comment
@the_dude_josh
@the_dude_josh 9 ай бұрын
A random comment down below
@user-fw3wl6rv1v
@user-fw3wl6rv1v 2 жыл бұрын
Hey bro I have a question hope you answer, I wanted to make a void method outputs an integer, you don't need to tell me the answer but an explanation would be appreciated.
@gorkembulut
@gorkembulut Жыл бұрын
The best C# tutorial there is 👌💫
@Lordknight13
@Lordknight13 Жыл бұрын
FinallyUnderstoodMethods ( ) { string appreciation = “Finally Understood Methods !!!” Console.WriteLine(appreciation); }
@Nico-pb8bb
@Nico-pb8bb 11 ай бұрын
thank you!
@FarhanAli-zb4iv
@FarhanAli-zb4iv 2 жыл бұрын
👍
@lucamare8610
@lucamare8610 Жыл бұрын
random comment
@yedi1064
@yedi1064 3 жыл бұрын
random comment
C# return keyword ↩️
3:35
Bro Code
Рет қаралды 41 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 844 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 80 МЛН
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 67 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 54 МЛН
C# static 🚫
5:03
Bro Code
Рет қаралды 73 М.
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
you will never ask about pointers again after watching this video
8:03
C# string methods 🔤
6:52
Bro Code
Рет қаралды 39 М.
Methods | C# | Tutorial 12
11:00
Giraffe Academy
Рет қаралды 56 М.
C# generics ⁉️
5:33
Bro Code
Рет қаралды 76 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 818 М.
Classes & Objects | C# | Tutorial 25
13:25
Giraffe Academy
Рет қаралды 173 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 80 МЛН