Тёмный

C# Delegates explained 

.NET Interview Preparation videos
Подписаться 159 тыс.
Просмотров 514 тыс.
50% 1

For more such videos visit www.questpond.com
For more such videos subscribe ru-vid.com...
See our other Step by Step video series below :-
Learn C# Step by Step goo.gl/FNlqn3
Learn Design Pattern Step by Step:- goo.gl/eJdn0m
Learn Angular tutorial step by step tinyurl.com/ycd9j895
Learn MVC Core step by step :- tinyurl.com/y9jt3wkv
Learn Azure Step by Step :- tinyurl.com/y6fmrech
Learn SharePoint Step by Step in 8 hours:- goo.gl/XQKHeP
Python Tutorial for Beginners:- • Python Tutorial for Be...
Learn Data Science in 1 hour :- tinyurl.com/y5o7qbau
Learn Power BI Step by Step:- tinyurl.com/y6thhkxw
Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
Learn SQL Server Step by Step tinyurl.com/ja4zmwu
Learn Tableau step by step :- tinyurl.com/kh6ojyo
In this video we will try to understand the real use of delegates.
We are also distributing a 200 page Ebook ".NET Interview Question and Answers". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on questpond@questpond.com with the shared link and we will email you the PDF.

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

 

11 май 2015

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 345   
@dnfvideo
@dnfvideo 2 года назад
Do not miss our Interview Question video series 30 Important C# Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BKynEBPqiIM.html 25 Important ASP.NET Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-pXmMdmJUC0g.html 25 Angular Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--jeoyDJDsSM.html 5 MSBI Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5E815aXAwYQ.html
@mrbananaman8032
@mrbananaman8032 3 года назад
Thank you for clarifying the "WHY" right away and calling out how stupid delegates seem at first glance. In other tutorials that just start teaching you how to use them I can't concentrate and learn because I'm waiting for the actual reason you'd want to use them in a real situation the entire time.
@kebabfoto
@kebabfoto 2 года назад
Yeah that's really missing sometimes
@DGangstaVEVO
@DGangstaVEVO 8 лет назад
Every tutorial i've watched made me think delegates are very complicated until i've watched this and it became so simple! You are awesome, i love the way you teach!
@BeLogicalAlways
@BeLogicalAlways 6 лет назад
Not that great
@lica281
@lica281 4 года назад
Came here just to say this. Bravo. Fantastic explanation.
@MrGramatix
@MrGramatix 4 года назад
Yes very true, I read many tutorials and watched few videos too but he explained very well in a simple manner
@maxron6514
@maxron6514 4 года назад
Yes very well explained
@alagarswamyingersoll
@alagarswamyingersoll 3 года назад
True.I feel the same.
@MeleeChannel
@MeleeChannel 2 года назад
The biggest question for me when hearing about Delegates in the first day was "Okay, but why? This seems awfully complicated to do something massively roundabout", and thankfully you solved that in the first minute! Many thanks for the wonderful explanation :)
@scottcase6195
@scottcase6195 7 лет назад
I appreciate that you talked about the reasons why to use delegates. Most videos I have found on this topic just go directly to code and show how to use the delegate with no attempt to explain why, or what it's doing or how it fits in. It's a difficult concept to get clarity on, and a lot of RU-vidrs don't seem to really know how it works or why; they just know how to make it work without really understanding.
@titanicpat1275
@titanicpat1275 2 года назад
I watched an 90 minute tutorial on Delegates yesterday, but couldn't really understand why they looked strange and what I might use them for. Less than 9 minutes here and its clear. Thank you!
@permindersingh1216
@permindersingh1216 5 лет назад
Just adding to what you said, delegates can also be used to invoke function asynchronously on a separate thread using BeginInvoke
@ThePGloor
@ThePGloor 8 лет назад
I'm not new to delegates, but found this presentation very useful when I've been looking for a way to explain delegates to others. After watching your video explaining delegates has become easy and meaningful. Thank you!
@macsoccer2012
@macsoccer2012 Год назад
Thank you!! I’ve been searching for forever for a decent explanation of delegates. You made it clear and simple to understand in this video. 🙏
@peculiarbabalola4430
@peculiarbabalola4430 2 года назад
You just got an extra subscribers. Succinctly explained. Not assuming and talking about the why. It is missing in most videos. Most people assume that the point will be gotten from just the simple but "stupid" definition. Thank you for going the extra mile to explain the why...very important and much appreciated.
@anshubudhiraja
@anshubudhiraja 6 лет назад
I don't think that it is only about callbacks. In C# 7, you can pass a method as a parameter, without using delegate, so according to you these delegates should have been removed from C# 7, but delegates have one more, more important role to play and that is to use it for events.
@colinrickels201
@colinrickels201 5 лет назад
Your accent is more crisp then any teacher i know. Very easy to listen to and comprehend. Keep up the good tutorials !
@KamilKubiak96
@KamilKubiak96 7 лет назад
This is the best and most human like explanation I could find. I got the concept now, thank you so much!
@Sufferingitbastards369
@Sufferingitbastards369 9 лет назад
good basic kick start but it would be great if you make more videos on this to explain the real power power of delegates when we talk about loosely coupled systems or Event Broker or Observer kind of pattern and that will help the community. Thank you making this video and wish to see your more.
@dlmaher1959
@dlmaher1959 3 года назад
Excellent !!! Very concise, clear explanation. This the second of your tutorials I have followed, first was threading. Just some general feedback; maybe in your examples you should use real world "objects" when discussing classes and functions. So instead of just "obj", use something like "ACUnit". This has real world context that makes it easier for people to follow your examples. Each AC has properties and methods that u can call I think it makes teaching easier
@robertmasterofpain6863
@robertmasterofpain6863 8 лет назад
Very clear explanation. I've finally got it!
@akshaytalekar2880
@akshaytalekar2880 5 лет назад
You Made Delegates Simplest. This is the Great Understandable Explanation Ever I Have Seen.
@x12624
@x12624 4 года назад
I liked the way he explained it, literal explanation of the delegate and finally the callback function example. It made a little more sense now.
@RedBirdOBX
@RedBirdOBX 6 лет назад
Thank you. This is the first video to explain not HOW to use one....but WHY you could use one. Thanks again.
@oskarkarlsson4707
@oskarkarlsson4707 3 года назад
Best delegate video for understanding the REAL purpose of delegates. Thank you!
@sanampakuwal
@sanampakuwal 2 года назад
Thank you! This is the first video or any material I'm looking about delegates and I can't believe I'm 100% clear, Keep up the great work! :)
@zx1701
@zx1701 7 лет назад
Excellent explanation of Delegates. Thanks!
@orionmec
@orionmec 2 года назад
Because the definitions that I was given, "a ptr to a function" I have had a really hard time getting it. Thank you brother, you hit the nail on the head. Or maybe into 'my head'... I get it now!!! Thanks.
@joesmith1922
@joesmith1922 7 лет назад
Brilliant! I finally see what a delegate is used for. Thanks!
@adrianozuna2149
@adrianozuna2149 7 месяцев назад
Finally!!! I always thought delegates were a very stupid concept because i never understood the point of using this, but this is the first video that i find correctly explains them and gives a practical example of them.
@angel_machariel
@angel_machariel 8 лет назад
This was a crisp and clear presentation of the essence of the delegate keyword.
@prashantb9771
@prashantb9771 8 лет назад
screen should have less zoomed so everything could have been displayed in one page
@drianlarde
@drianlarde 4 года назад
this is so true..
@rmarikar1
@rmarikar1 4 года назад
The BEST explanation of delegates. Thank you.
@menspa2471
@menspa2471 6 лет назад
The best explanation ever. Simple and clear
@bruinflight1
@bruinflight1 4 года назад
This is a great tutorial thank you! And now I will look for the purpose of delegates in He-Sharp :-)
@BritshBeef1
@BritshBeef1 5 лет назад
Really good Tutorial, thank you from the UK!
@sasiskitchen9566
@sasiskitchen9566 5 лет назад
In simple words, if you have a thread running and you want to access the other thread method you can use delegate. Cross threading can be performed using delegate. Communicate between two foreign threads. That’s it. Have two threads running and try to access the other thread method, which will end up in cross threading error in runtime. Now use delegate and invoke that method. Wow it’s running.
@rongreen3648
@rongreen3648 6 лет назад
Nice explanation showing that a delegate is more than just a simple function pointer. It is a communication device, a callback. Good "delegates from India" illustration!
@thelikesofjeremy
@thelikesofjeremy 8 лет назад
Great video. Thank you for actually making this concept make sense.
@TheChodex
@TheChodex 5 лет назад
Thanks for very clear explanation of delegate. The way you explained the origins of delegate in English dictionary was very helpful.
@alagarswamyingersoll
@alagarswamyingersoll 3 года назад
Excellent explanation sir.I appreciate it.I have been searching to know why we use delegates in C#,now,I have the answer for it.Thank you sir.
@xxsilentxxxx
@xxsilentxxxx 8 лет назад
Thank you! Simple yet effective.
@jerryborzobohaty2212
@jerryborzobohaty2212 2 года назад
This was the first explanation I had heard that made sense to me. Thank you!
@sham1r6
@sham1r6 6 лет назад
Really informative and well thought out teaching in this video. Good job dude.
@raymondfinton3177
@raymondfinton3177 4 года назад
Nice explanation and very quick. Just what I needed. Thank you.
@fredyuldashev
@fredyuldashev 4 года назад
I'll be honest? This got my very close to understanding! Good Job!
@xtonetware5493
@xtonetware5493 5 лет назад
You nailed it sir... Best concise explanation on delegate i have watched so far.. I wish i could give you a triple like and or subcribe click.. Thanks again.
@lessknownindeed
@lessknownindeed Год назад
What a great explanation! The easiest teaching means the huge number of study in the background!
@shaziahussain3029
@shaziahussain3029 6 лет назад
Thanks now i learned that a delegate can communicate between two classes or functions and update the data into the functions of classes or between functions as a pointer to the function.
@SD-gj2by
@SD-gj2by 6 лет назад
Awesome explanation and video. Totally get it! Thankyou
@sarmistharay5921
@sarmistharay5921 5 лет назад
Great... Explanation Sir.Thank you so very much.
@yasinmagan2244
@yasinmagan2244 2 года назад
Very clear and concise way of explaining it. Thank you very much
@DineshKumar-lq2ck
@DineshKumar-lq2ck 2 года назад
Nothing is difficult you have the right Teacher. You are the one.
@AkshayPatil-lm2ps
@AkshayPatil-lm2ps 8 лет назад
Perfectly explained. it was confusing Thanks.
@kishortala2950
@kishortala2950 6 лет назад
Thanks for this. Really you have explained well and I easily understood. Thanks once again
@nerdcartoon2544
@nerdcartoon2544 3 года назад
Indian accent? Yes Less than ten minutes? Yes 6 years old? Yes Great explanation? Yes Dunno where this comment going anymore? Yes *This video is a legend.*
@Cromfeld
@Cromfeld 2 года назад
Absolute plain and simple! The first video, when I got ann explaination why should I use a delegate.
@XEQUTE
@XEQUTE 2 года назад
I didn't like the fact that this video had images placed in a very weird way, In some parts, it was not possible to see the content because it was blocked by the images. Also, It didn't show the whole code at once just because he had it zoomed in. BUT, this is the only video that got to the point firsthand. So 7/10. good job!
@harish0555
@harish0555 8 лет назад
Thanq very much loved the expilination and the way of using the Delegate ... Kudaoos ...
@shinichixxxx
@shinichixxxx 6 лет назад
Thank you so much for the explanation.
@subhraswarup
@subhraswarup 6 лет назад
The best explanation of delegates ever. Thanks
@TamilistTheGamer
@TamilistTheGamer 7 лет назад
It took me a while to understand delegates, but now it seems to be clicking. Thanks :D
@logictech6228
@logictech6228 6 лет назад
at last I understood what is delegate ..Thank you.. demonstrations should be like this. I've subscribed your Chanel
@danielc4267
@danielc4267 5 лет назад
Wow. This is so good. Thank you sir!!!
@afterworkguinness2452
@afterworkguinness2452 8 лет назад
Thanks, that was a very clear explanation. Top notch.
@Timzy921
@Timzy921 7 лет назад
Thank you for the video. It was very helpful!
@itsmeafridi
@itsmeafridi 7 лет назад
Read a few of the books but i found this one very well explained.
@AlexSmirnov
@AlexSmirnov 8 лет назад
Thanks! Good explanation!
@_sudipb
@_sudipb Год назад
This is the best explanation I have seen. Thank you. 👍👍
@jasonevans7281
@jasonevans7281 6 лет назад
Great explanation of delegates - thank you.
@zebasxx
@zebasxx 6 лет назад
thanks for the video, I really appreciate when some one spend time trying to share knowledge. Despite that, I would advice you to show the full code and smaller text, I got lost in your explanation because for the big text.... got me crazy.
@thomaslinssen1426
@thomaslinssen1426 5 лет назад
Thank you for making me understand delegates.
@sushilsuthar356
@sushilsuthar356 5 лет назад
Now i got the actually use of delegate, They are so powerful.
@nihar4713
@nihar4713 3 года назад
This is the best explanation of delegates I've seen
@gasstove9437
@gasstove9437 5 лет назад
need some real time examples to understand this in more proper way.
@asagiai4965
@asagiai4965 3 года назад
Callbacks * 3 Though if you don't know callbacks you can look at Javascript it have simple definition that can work in many lang. Basically think of delegates as variables that can represents functions. ( As long as it *match the function) Example Delegate void sample_delegate(); // this delegate matches all functions that are void and have no arguments. void say(sample_delegate callme) { //INVOKE callme } void hello() { Console. Writeline("Hello"); } //Now you can make say say hello say(new sample_delegate(hello)); **the very important thing about delegate or callbacks is they are not the functions they are representative of functions*
@sypo_x1891
@sypo_x1891 3 года назад
@@asagiai4965 thanks man this shit was so damn helpful i appreciate it dude
@asagiai4965
@asagiai4965 3 года назад
@@sypo_x1891 you're welcome
@chrismcgourty1756
@chrismcgourty1756 7 лет назад
Very well done, thank you!
@rajeevjha3714
@rajeevjha3714 6 лет назад
clearly explained basically using delegate we can also pass method as a parameter. thanks a lot.
@swinalchafle
@swinalchafle 3 года назад
Nicely explained... Great job
@yogeshcs2003
@yogeshcs2003 7 лет назад
very good explanation. Keep it up.
@im1in260m
@im1in260m 3 года назад
Thank you for explaining so well!
@lalithprasad993
@lalithprasad993 4 года назад
How did i miss this? Awesome Video thank you so much.
@stevebuddy6827
@stevebuddy6827 8 лет назад
Teach me more please!!! I love your style of teaching! :)
@MrGramatix
@MrGramatix 4 года назад
Thanks very much for your simple explanation about delegates
@sreejithg4830
@sreejithg4830 2 года назад
Brilliant explanation. Thank you.
@fthomm
@fthomm 6 лет назад
Good explanation! Thank you!
@KingTornado
@KingTornado 6 лет назад
Excellent explanation . Now i understand why we need delegates.
@ronen116
@ronen116 5 лет назад
you are a Great Teacher !!!!
@CartmanBrah
@CartmanBrah 6 лет назад
Great vid, better explained than my lecturer
@taskinkhaleque2100
@taskinkhaleque2100 8 лет назад
simple and clear presentation.
@reesebrandon4281
@reesebrandon4281 6 лет назад
Great example. Thanks!
@sridharramachandran3835
@sridharramachandran3835 5 лет назад
Very well explained mate...
@vicmeister9996
@vicmeister9996 3 года назад
Very useful, perfect explanation
@sahawndada
@sahawndada 7 лет назад
You have helped me alot ! thank you !
@govindaraoommi9900
@govindaraoommi9900 3 года назад
really thanks a lot sir , I thought delegates re really tough to understand but now its easy with this video
@minelove789
@minelove789 7 лет назад
I am a Nepali delegate to India :)
@paranjapegaurav
@paranjapegaurav 9 лет назад
thanks sir really nice videos and clearing all the concepts from the depth
@laxyasharma7535
@laxyasharma7535 4 года назад
Great exploration and knowledge
@kristinadanileviciute4750
@kristinadanileviciute4750 6 лет назад
You create a base class FOO, and another subclass BAR that inherits from base class . Also you have some another class FUU {public int FUUproperty{get;set;}=0;} with some property. BAR cannot inherit from multiple classes so declare protected FUU testFUU=new FUU() in base class. Create methods in base class: GetFUUstuff(){ console.write(testFUU.FUUproperty)} SetFUUstuff(int myval){testFUU.FUUproperty=myval} . Create object for FOO and for BAR in Main(). those objects of type FOO and BAR both can call GetFUUstuff() and will receive whats inside that FUU so GetFUUstuff and SetFUUstuff are the Delegate Methods
@imadabab
@imadabab 3 года назад
Excellent explanation. Thanks a lot. I have subscribed.
@eltondaries1215
@eltondaries1215 4 года назад
Very simple and effective explanation
@milos5247
@milos5247 4 года назад
Great explanation, it helped a lot!
@CameronAWatt
@CameronAWatt 7 лет назад
perfect explanation. thanks.
@korukondamehervihari7025
@korukondamehervihari7025 4 года назад
Very good explanation. Thank you so much. Thank you so much. Thank you so much.!
@lakshanjayaweera6232
@lakshanjayaweera6232 2 года назад
You are awesome, i love the way you teach!
@commertech
@commertech 6 лет назад
Well don, sir! Thank you!
Далее
C# Out parameters Vs REF parameters
6:43
Просмотров 279 тыс.
когда повзрослела // EVA mash
00:40
Просмотров 2,4 млн
C# Delegates & Lambdas Explained
32:43
Просмотров 37 тыс.
29. C# - Delegates
5:48
Просмотров 46 тыс.
c# (Csharp):- What is the use of Yield keyword in c# ?
10:35
Part 36 - C# Tutorial - Delegates in c#.avi
11:54
Просмотров 679 тыс.