First time i understood the use of Delegates and Multicast delegates in real time !! Great videos man, keep posting good ones like this !!! I would love to see your videos on Threading, TPL, Async/Await etc too !!!
Thanks for such a good explanation about delegate.. With the help of your proof of concept... I cracked more interviews... Really hats of you sur for such demonstrate 🙏
thank so much to share this video . I am very happy but sir i tried with double return type with delegate and method and calling time both method calling same but you said that only last method will be call first method will be override. please give a demo please
public delegate double deleGatesTest(int x, int y); class DelegatesDemo { public double Add(int a,int b) { return a + b; } public double sub(int a,int b) { return a - b; } static void Main() { DelegatesDemo d = new DelegatesDemo(); deleGatesTest ad = new deleGatesTest(d.Add); ad += d.sub; double value= ad.Invoke(100, 50); Console.WriteLine(value); Console.ReadLine(); } } You try this
At 6:27 I observed that under startup project menu there are 3 cs files. But in mine it's showing only one and also I have one more doubt, can two class files of same project can have main methods in both of them ?
consol.writeline(" hello world") //inorder the hello world to be printed in the consol we need to write the readline. sometimes it works without it if not u will need to use this readline.....then it will read it and print
Sir, it would be very much helpful for all of us, if you would supply the source code of practice video,as if we can practice after watching your videos.
First time i understood the use of Delegates and Multicast delegates in real time !!
Great videos man, keep posting good ones like this !!!
I would love to see your videos on Threading, TPL, Async/Await etc too !!!
I am a very big fan of Bangar Raju Sir I love to watch his C# video's .His OOPS Concept is more than awesome. He is a great Mentor.
i have never seen easiest way of teaching like this before...you are the best keep it up
Sir i was searching perfect answer for 1 year .But now i was clearly explained and understood .Thanks
Read delegates many times but didn't understood but understood from you. Such a simple way of teaching. Keep it up Sir
Thanks for such a good explanation about delegate.. With the help of your proof of concept... I cracked more interviews... Really hats of you sur for such demonstrate 🙏
This is really great, thank you! I always have "aha!" moments when watching your lessons.
The concept is explained very nicely and understandable way
Thank you sir for these wonderful tutorials!
this guy made my programming concept so clear !
Amazing explanation !!!
Damn, very straight forward explanation. Finally understood it. Many thanks
thank God for finding your lecture.
pehli bar actually samjh aya... isse pehele bs bakar ho rhi thi jb bhi delegates padho
I understood about deligate clearly sir tq
Results can be added in some List so that it wont overwritten. List.Add(delegate.Invoke())
Ur videos are the best sir.thnks a lot.
THANK YOU SIR.
Perfect video. Thanks a lot.
Superb Explanation
Beautiful tutorial, thanks a lot!
Thanks.
keep doing sir ! nice lecture..
How many methods we can invoke using multicast? Is there any limit?
Tq sir
Thank you.
Very nice. Thanks
is there any way to store the values returned by different functions in an array or any other collections while calling them using one delegate.
thank so much to share this video . I am very happy but sir i tried with double return type with delegate and method and calling time both method calling same but you said that only last method will be call first method will be override. please give a demo please
public delegate double deleGatesTest(int x, int y);
class DelegatesDemo
{
public double Add(int a,int b)
{
return a + b;
}
public double sub(int a,int b)
{
return a - b;
}
static void Main()
{
DelegatesDemo d = new DelegatesDemo();
deleGatesTest ad = new deleGatesTest(d.Add);
ad += d.sub;
double value= ad.Invoke(100, 50);
Console.WriteLine(value);
Console.ReadLine();
}
}
You try this
What is the benefit of using a delegate in real time ?
At 6:27 I observed that under startup project menu there are 3 cs files. But in mine it's showing only one and also I have one more doubt, can two class files of same project can have main methods in both of them ?
also make video on Generics
1M+ Subscriber , 80K + Views But Just 800+ Likes ...I wonder 🤔
Thank you sir....
How to bind more than three methods ? += Not able to use
Why was there a consol.readline at the end of code wouldn't the parameters pass regardless
consol.writeline(" hello world") //inorder the hello world to be printed in the consol we need to write the readline. sometimes it works without it if not u will need to use this readline.....then it will read it and print
Sir, it would be very much helpful for all of us, if you would supply the source code of practice video,as if we can practice after watching your videos.
Thanks...
Sir some people are stealing your content.🥲
Thank You Sir....