YouTube2Text

C# Delegates and Events | Theory vs Real interview answer — Transcript

by Questpond · 1,343 words · 201 segments · language en · Watch on YouTube

Full transcript

  1. 0:01Good morning, good afternoon, good
  2. 0:03evening from whichever location you are
  3. 0:04watching this video. A very very warm
  4. 0:06welcome to Quespon channel and in this
  5. 0:09video we'll be discussing about what
  6. 0:12happens in actual interviews when it
  7. 0:14comes to delegates and events right and
  8. 0:18the whole goal of creating this video is
  9. 0:20that
  10. 0:21to make you understand that when you
  11. 0:23talk about interview preparation when
  12. 0:25you talk about clearing interviews right
  13. 0:27it is not just a technical thing
  14. 0:29technical thing must be 70% but 30% it
  15. 0:33is psychological 30% person it depends
  16. 0:35on that what kind of answers you are
  17. 0:37giving to the interviewer and what kind
  18. 0:40of cross questions the interviewer asks
  19. 0:42you right so what this is what this
  20. 0:43video is all about and again before I
  21. 0:46start this video if you go and if you
  22. 0:47share this video on your LinkedIn you
  23. 0:49will get this beautiful shear interview
  24. 0:51question PDF right so go ahead share the
  25. 0:54link and mail us at questpondqubond.com
  26. 0:57and we will give you this beautiful book
  27. 1:00out there so let us get started when
  28. 1:02this question comes up in the interview
  29. 1:04Many developers answer that delegate is
  30. 1:08a pointer to a function. Now this answer
  31. 1:11is actually technically very right but
  32. 1:14it is very very academic. The next cross
  33. 1:17question that the interviewer can hit
  34. 1:19you is with that why do I have to call
  35. 1:22the method through a pointer? Why do I
  36. 1:24have to invoke the method through a
  37. 1:25pointer? I can invoke it directly and
  38. 1:28this way what will happen is the
  39. 1:29interviewer will will go in a different
  40. 1:30tangent altogether. So it is better to
  41. 1:33answer some practical implementation out
  42. 1:36here right that's what impresses the
  43. 1:38interviewer if you're going to go around
  44. 1:40with your academic answers right the
  45. 1:42interviewer will never connect with you
  46. 1:44so for example if you say here delegate
  47. 1:46is a call back so for example you have a
  48. 1:48caller and you have a colleague and let
  49. 1:50us say that the caller and the colleague
  50. 1:52are in a different process in a
  51. 1:54different thread um you know and they
  52. 1:57want to have communication between them
  53. 1:59then must be it makes sense Right? So
  54. 2:03when you start with the right answer,
  55. 2:05when you start with a practical answer,
  56. 2:07the interviewer starts connecting with
  57. 2:09you. So answering academic answers,
  58. 2:12right, just makes the interview very
  59. 2:15mundane. Uh another kind of answer which
  60. 2:17comes around delegates is that delegates
  61. 2:20are like abstraction. Now remember when
  62. 2:23it comes to abstraction, right,
  63. 2:24interfaces are gods of abstraction
  64. 2:26frankly. So
  65. 2:29when you actually put ahead this answer
  66. 2:31saying that delegate is like abstract
  67. 2:33over any kind of a method like for
  68. 2:35example you have an method which is
  69. 2:37operation it takes two number now inside
  70. 2:40that it can do an addition or it can do
  71. 2:42a multiplication or it can do something
  72. 2:44like that. So when you say that delegate
  73. 2:46is an abstraction over a method
  74. 2:49signature, the interface can take you
  75. 2:51into a different loop and ask you that
  76. 2:53then what what is so bad in interfaces
  77. 2:56because the whole goal of interfaces is
  78. 2:58abstraction, abstraction and
  79. 3:00abstraction. So again this answer is
  80. 3:03technically right but it is not the main
  81. 3:06thing. It is more of a byproduct. It is
  82. 3:10a byproduct answer. Again when the
  83. 3:12interviewer asks about saying that where
  84. 3:14have you used delegates developers try
  85. 3:17to create you know some kind of a
  86. 3:19unnatural artificial forced answers like
  87. 3:22I have used delegates here I have used
  88. 3:24delegates there right but frankly ask
  89. 3:26your heart and write down on the
  90. 3:28comments below that many many of us
  91. 3:30don't even use delegates definitely we
  92. 3:32use different forms of delegates
  93. 3:34probably we use events we use action we
  94. 3:37use funk we use predicate we use lambda
  95. 3:40expression
  96. 3:41But directly delegates is a very rare
  97. 3:44scenario right. [snorts] So when you are
  98. 3:47also truthful and more natural right the
  99. 3:50interviewer does connect to you. So when
  100. 3:52you say that no like I have not used
  101. 3:53delegates but yes when I double click on
  102. 3:55a button I see a plus equal to which is
  103. 3:57an event right. So try to answer again
  104. 4:01you know answers which are more
  105. 4:02practical in nature wherein you get more
  106. 4:06connected with the interviewer rather
  107. 4:08than trying to form up an unnatural and
  108. 4:11an artificial answer and this whole
  109. 4:13discussion of delegates goes into a
  110. 4:15different tangent into a different loop
  111. 4:17when the question of events come in and
  112. 4:20when the question of events come in
  113. 4:21right the the developers answer so
  114. 4:24confidently so sophisticatedly right
  115. 4:27saying that okay what is the Event event
  116. 4:29is a encapsulation over delegates. Event
  117. 4:32is a pure publisher subscriber
  118. 4:35mechanism. Events actually help you to
  119. 4:37implement a broadcasting kind of an
  120. 4:39architecture. So remember all of these
  121. 4:41answers are right. The only point is
  122. 4:43that are you able to explain the
  123. 4:45interviewer what exactly is a pure
  124. 4:47publisher subscriber mechanism that is
  125. 4:49important right? So yes, when you're
  126. 4:52answering these sophisticated
  127. 4:54when you're using these sophisticated
  128. 4:56vocabulary, these sophisticated
  129. 4:57technical vocabulary, make sure that you
  130. 5:00are able to communicate with the
  131. 5:02interviewer that what exactly are these
  132. 5:05words and the interviewer can take you
  133. 5:07for a ride. Specifically, if you look at
  134. 5:09the multiccast delegate and event right,
  135. 5:11they look very similar because in case
  136. 5:13of multiccast delegate also you can do a
  137. 5:15plus equal to and a minus equal to. You
  138. 5:17can have a publisher subscriber
  139. 5:19mechanism and in events also you can do
  140. 5:21that right. So if you know the answer
  141. 5:22write down on the comments down below
  142. 5:24that what is the difference between a
  143. 5:25multiccast delegate and a event remember
  144. 5:28I'll just give you the answer the answer
  145. 5:30is pure
  146. 5:32pure publisher subscriber mechanism and
  147. 5:35remember if ever those four rudra aars
  148. 5:38of delegates that is funk lambda
  149. 5:43action predicate if all of these come in
  150. 5:46right then it becomes very very
  151. 5:48different scene altogether you will see
  152. 5:50a huge thunder dance all together.
  153. 5:52Right? So remember that all of these
  154. 5:54four things or even the five things
  155. 5:56events, funk, lambda, action, predicate
  156. 6:00are nothing but they are derived from
  157. 6:03delegates. So that is very important to
  158. 6:05remember. The whole point of this video
  159. 6:06is that to make you realize that when
  160. 6:09interviews are happening, right,
  161. 6:11interviews should get converted into a
  162. 6:13conversation. It should not be Q&A,
  163. 6:16right? It should not be having more
  164. 6:18academic answers. If you really want to
  165. 6:21win the interviewer's heart, right? Your
  166. 6:24answers should be practical. Your
  167. 6:26answers should not lead to more cross
  168. 6:28questions. For example, I talked about
  169. 6:30delegate. If you say delegate is a
  170. 6:31pointer to a function, then there is
  171. 6:33another question and another question.
  172. 6:34But when you say delegate is a call back
  173. 6:36must be it just hits you know where it
  174. 6:39wants to hit, right? So try to see that
  175. 6:42in in the interview try to make an
  176. 6:44interview as a conversation. So that
  177. 6:46brings us to the end of this video. My
  178. 6:48whole goal of this video was to give you
  179. 6:50an essense of how interviews actually
  180. 6:53happen and sometimes we don't even know
  181. 6:56that the answers what you're giving out
  182. 6:58there is it really impressing the
  183. 7:01interviewer or is it really going in a
  184. 7:03loop right so I hope that you got the
  185. 7:04context of this video uh and thank you
  186. 7:07very much and remember you can go to
  187. 7:08quest.com you can look at our videos
  188. 7:10what we have you can look at our live
  189. 7:11trainings what are happening remember
  190. 7:13one of the live trainings which I'm
  191. 7:14coming around at this moment is
  192. 7:16interview preparation course right so
  193. 7:18must be you can have a look at that so
  194. 7:19we have interview preparation course we
  195. 7:21have the Azure course we have
  196. 7:22microservices uh we have the IML course
  197. 7:25for C# developers we have so many other
  198. 7:28courses out there go ahead go to
  199. 7:30queston.com and you can chat over there
  200. 7:32thank you very much happy learning happy
  201. 7:34job hunting

About this transcript

This page contains the full transcript of C# Delegates and Events | Theory vs Real interview answer by Questpond, generated from the public captions YouTube serves with the video. The transcript has 1,343 words across 201 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.