+Ji Jianpeng Thank you for the feedback. I am very glad you found the videos useful. I have organised all the video tutorials in to playlists, which could be useful to you ua-cam.com/users/kudvenkatplaylists?view=1&sort=dd If you need physical DVDs or you want to download all the videos for offline viewing please order them using the link below www.pragimtech.com/kudvenkat_dvd.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. ua-cam.com/video/y780MwhY70s/v-deo.html If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. ua-cam.com/users/kudvenkat If you like these videos, please click the THUMBS UP button below the video. We like to see these free video tutorials helping others as well. Please share the link with your friends and family who you think would also benefit from them. Thanks Venkat
@@Csharp-video-tutorialsBlogspot how to get particular method name using reflection. for example in class i have two methods Test,Practise when I am in Test method I want to print method name Test,when in Practise method I want to print Practise as method name. Kindly guide me on this
Hi ADO.NET concepts are covered in ADO.NET & ASP.NET tutorial series. The description of this video contains a link for csharp, asp.net, ado.net, dotnet basics, mvc and sql server video tutorial playlists. I am now in the process of recording and uploading a video tutorial on Entity Framework and LINQ. Good Luck. To receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. If you like these videos, please click on the THUMBS UP button below the video.
You are very welcome. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.
how to get particular method name using reflection. for example in class i have two methods Test,Practise when I am in Test method I want to print method name Test,when in Practise method I want to print Practise as method name. Kindly guide me on this
Hi, Thank you very much for taking time to give feedback. I am very glad you liked these videos. You are right, the mic that I was using was horrible. Sorry about that. I got a new mic now. Unfortunately the videos in C#, were recorded before I realized the mic was bad. However, asp.net, sql server, mvc, gridview tutorials should be fine as I have used new mic to record them. I will try to rerecord those videos again, but as you know it is a time consuming process.
@kudvenkat how to get particular method name using reflection. for example in class i have two methods Test,Practise when I am in Test method I want to print method name Test,when in Practise method I want to print Practise as method name. Kindly guide me on this
Nope constructors cannot have return type. Sure, will record and upload wcf & wpf videos very soon. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists. Please share the link with your friends. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.
I have been watching some of your videos; however, after watching this, I promised myself to watch 1 video from your channel every day. There is something in how you understandably explain things, even for those not 'advanced' in programming. I thank you very much for sharing this knowledge.
Thank you very much. Very good explanations. I tried to understand Reflections by reading before but from your explanation I got it right away. Thank you again.
very very nice video, finally i got to understand what exactly Reflection is all about. Thanks a lot for making this videos and posting it. Really it is very very useful.
Very helpful all your videos are so informative...i went to school and took some private class....but nothing is close your explanation. Thank you so much. .....
Thanks a lot fro your wonderful records, you talk a lot abot "at run time" or "at compile time". I have a little idea what it's about but I would be very grateful if you could have a separate session abot these very important subjects, thanks a lot
Hey Venkat, Your sessions are soo good and I regret that I am finding them in youtube so late. Can you please upload some sessions on WCF, WPF, MS BI. That will be really helpful to the Microsoft dev community. Keep up your good work. Cheers, Nandini
Thanks so much for a comprehensive tutorial! Liked! :) Just one suggestion - the sound quality is not very good and so is the volume levels. Not sure if you are moving in and away from the mic every now and then?
Excellent tutorial. I check your other videos but could not find any example on 3rd point of you presentation where you discussed about having configuration file to create reflection code by late binding. It'll really help if you can provide a similar video for that as well.
Hi Venkat, thank you for all, your explanation here is as good as any other, but I have question about Exception I have in: PropertyInfo[] properties = T.GetProperties(); so I will appreciate if you help me (you or someone else) how to handle this. It's about when you run program at 13:35. return to me: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. instead: Id Name p.s. Of course, I did everything like you. (Only difference is that I am using VS 2019)
I had the same issue, hover over the Customer class and write the directory name as shown by the intelligence. Also make sure that the customer class is defined outside the Pragim class.
Thanks for your video! One question: when you use "Type T=Type.GetType("Pragim.Customer");", is T created as an object of "Type" at the same time? I mean, we do not need to write" Type T=new Type();" at first?
First of all great tutorial for whom have troubles about reflection. Also ı have a question; Do you have tutorials about LINQ, PLINQ, ADO.NET ı mean about c#-database interaction? Thank you again
Hi Venkat, Great tutorial, excellent work. Could you or someone explain to me, why its not necessary to have the new keyword, when initialising an instance of the Type class????? Thanks, Mark
Because the static method Type.GetType does exactly the same thing, creating a Type object which is referenced on the left side of the equal sign with Type T
hello sir many many thanks for your video series very helpful for many beginners like me sir i have question that" does constructor have a return type if it is called as special method?" and yes i am waiting for your video series on wcf and wpf again many many thanks to you
Since Id creates a get_Id automatically I wondered what happened if I manually implemented that method with the exact same name of the method that is generated automatically. If you do so you'll get the compiler error, with red lines beneath your get/set saying: "Type 'Typename' already reserves a member called 'get_PropertyName' with the exact same parameter types." I wonder why the reserved method doesn't start with symbols that the compiler accepts, yet doesn't allow us to manually use, because if i recall correctly, this is how c# reserved certain autogenerated methods.
Where do I have examples of these I can see potential usefulness for those, but I would really like to se examples! "2. Late binding is creating a class at runtime, instead of at compile time.. To dynamically create an instance of a type, about which we dont have any information at compile time. So reflection enables you to use code that is not available at compile time" 3. Consider two alternate implementations of an interface. You want the user to pick one using a config file. With reflection you can s imply read the name of the class whose implementation you want to use from the config file, and instantiate an instance of that class. This is another example for late binding using reflection. "
very good tutorial, One question here.. How can you get the value of property using T, like T.ID = ? and how can I crate object of Customer Class using T Thank You.
awesome
+Ji Jianpeng Thank you for the feedback. I am very glad you found the videos useful.
I have organised all the video tutorials in to playlists, which could be useful to you
ua-cam.com/users/kudvenkatplaylists?view=1&sort=dd
If you need physical DVDs or you want to download all the videos for offline viewing please order them using the link below
www.pragimtech.com/kudvenkat_dvd.aspx
Slides and Text Version of the videos can be found on my blog
csharp-video-tutorials.blogspot.com
Tips to effectively use my youtube channel.
ua-cam.com/video/y780MwhY70s/v-deo.html
If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
ua-cam.com/users/kudvenkat
If you like these videos, please click the THUMBS UP button below the video.
We like to see these free video tutorials helping others as well. Please share the link with your friends and family who you think would also benefit from them.
Thanks
Venkat
@@Csharp-video-tutorialsBlogspot how to get particular method name using reflection. for example in class i have two methods Test,Practise when I am in Test method I want to print method name Test,when in Practise method I want to print Practise as method name. Kindly guide me on this
this is literally the best content on C# reflection. It cannot be simplified better than this... Venkat Sir, You are the best.
Hi ADO.NET concepts are covered in ADO.NET & ASP.NET tutorial series. The description of this video contains a link for csharp, asp.net, ado.net, dotnet basics, mvc and sql server video tutorial playlists.
I am now in the process of recording and uploading a video tutorial on Entity Framework and LINQ. Good Luck.
To receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. If you like these videos, please click on the THUMBS UP button below the video.
You are very welcome. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.
how to get particular method name using reflection. for example in class i have two methods Test,Practise when I am in Test method I want to print method name Test,when in Practise method I want to print Practise as method name. Kindly guide me on this
Every time I click on a video in this series, I feel like I'm taking a red pill from the matrix.
Or waking up from another dream layer in Inception.
Hi, Thank you very much for taking time to give feedback. I am very glad you liked these videos. You are right, the mic that I was using was horrible. Sorry about that. I got a new mic now. Unfortunately the videos in C#, were recorded before I realized the mic was bad. However, asp.net, sql server, mvc, gridview tutorials should be fine as I have used new mic to record them. I will try to rerecord those videos again, but as you know it is a time consuming process.
@kudvenkat how to get particular method name using reflection. for example in class i have two methods Test,Practise when I am in Test method I want to print method name Test,when in Practise method I want to print Practise as method name. Kindly guide me on this
Nope constructors cannot have return type. Sure, will record and upload wcf & wpf videos very soon. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists. Please share the link with your friends. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.
I have been watching some of your videos; however, after watching this, I promised myself to watch 1 video from your channel every day. There is something in how you understandably explain things, even for those not 'advanced' in programming. I thank you very much for sharing this knowledge.
Greatly impressed at how clear your examples are. Good work, man!
Thank you very much. Very good explanations. I tried to understand Reflections by reading before but from your explanation I got it right away. Thank you again.
Best explanation of reflection I have stumbled upon! thank you.
The best tutorials. Thank you so much!
...at last, a developer making videos on UA-cam who can both code AND communicate. Well done - I understood your video.
You're doing really a great job...best teaching skills. 1000 likes
Take a bow, awesome explanation.
very very nice video, finally i got to understand what exactly Reflection is all about. Thanks a lot for making this videos and posting it. Really it is very very useful.
That's Awesome Lecture...I learned a lot from you. Stay Blessed.
Superb sir meru baaga chepparu... Me Anni videos superb gaa unnai loved it
Thank you! for making this alien concept 'Reflection', so simple to understand.
you can conduct great information just in simple way
Very helpful video. Thank you for taking the time to make these excellent tutorials.
Nice video... I read many articles about. Net reflection but could not understand.. U explained it in very simple manner.. Thanks
wow that was helpful, very clear, very good examples. Thanks a ton!
Sure, currently I am working on asp.net videos, as soon as I am done with it. I will handle your request. Thanks for the feedback.
First, We used Reflection for logging the base method to refer in case of errors. Now, I am watching this video. Thanks, Venkat!
Great tutorial... Thank you very much
Amazing explanation. Thank you very much.
Very detailed and helpful explanation. Well done and thanks!
Very good tutorial. Thank you very much.
Thank you so much for this tutorial ! :)
Great Example! Thank you! Keep up the good work
I have learned a lot from your tutorials.
Thanks^^
Thank you! You are great teacher!
venkat u r amazing.........
BIG thanks.........god bless you
thank you! this was a great tutorial!
I am preparing for 70-483 exam and your tuts are very helpful, thanks a ton.
Incredible explanation, finally understood it :) Thank you!
Great tutorial!Thanks!
As always amazing!!!!!
Very helpful all your videos are so informative...i went to school and took some private class....but nothing is close your explanation. Thank you so much. .....
Great job!
Great video..many thanks
Thanks for this! It was exactly what I needed.
Bless you for this tutorial.
Perfect!
so informative! thank you
Reflection is really fun.
Great Tutorial.Thanks a Lot
Thanks a lot fro your wonderful records, you talk a lot abot "at run time" or "at compile time". I have a little idea what it's about but I would be very grateful if you could have a separate session abot these very important subjects, thanks a lot
amazing video.
Thank you for this.
Great video, u have my tnx m8
非常好~~
Skilled teacher
Your tutorials are awesome!!!....waiting for the more ADO tutorials
Good work !
I like! Thanks!
Hi, thank you very much for taking time to give feedback.
Hey Venkat,
Your sessions are soo good and I regret that I am finding them in youtube so late.
Can you please upload some sessions on WCF, WPF, MS BI. That will be really helpful to the Microsoft dev community.
Keep up your good work.
Cheers,
Nandini
thanks!..Explicit explanation!..;D
Well done and thanks
Super sir 🎉
thanks very much for this!
Thanks so much for a comprehensive tutorial! Liked! :)
Just one suggestion - the sound quality is not very good and so is the volume levels. Not sure if you are moving in and away from the mic every now and then?
Excellent.
wonderful tutorial!
I want to use reflection to get pertinent information from a WCF proxy class.
Awesome..
Excellent and thank you
Excellent tutorial. I check your other videos but could not find any example on 3rd point of you presentation where you discussed about having configuration file to create reflection code by late binding. It'll really help if you can provide a similar video for that as well.
Beautiful :) :) :)
Hi Venkat,
thank you for all, your explanation here is as good as any other, but I have question about Exception I have in: PropertyInfo[] properties = T.GetProperties();
so I will appreciate if you help me (you or someone else) how to handle this.
It's about when you run program at 13:35.
return to me: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
instead: Id
Name
p.s. Of course, I did everything like you. (Only difference is that I am using VS 2019)
I had the same issue, hover over the Customer class and write the directory name as shown by the intelligence. Also make sure that the customer class is defined outside the Pragim class.
really good..
Thanks for your video!
One question: when you use "Type T=Type.GetType("Pragim.Customer");", is T created as an object of "Type" at the same time? I mean, we do not need to write" Type T=new Type();" at first?
Thank you so much.
excellent... 5/5
First of all great tutorial for whom have troubles about reflection. Also ı have a question; Do you have tutorials about LINQ, PLINQ, ADO.NET ı mean about c#-database interaction? Thank you again
Cannot thank you enough!
Hi Venkat,
Great tutorial, excellent work.
Could you or someone explain to me, why its not necessary to have the new keyword, when initialising an instance of the Type class?????
Thanks,
Mark
You could move the mic further away (especially if you have a shotgun mic) and up the gain - that would help equalize the volume
Because the static method Type.GetType does exactly the same thing, creating a Type object which is referenced on the left side of the equal sign with Type T
Too time consuming to re-record..
Thanks for the videos once again!
Hi, you're doing really great at teaching. I was wondering.. do you have any videos about design patterns?
+Luke Xu I concur, I could really use some decent design pattern videos as well.
He does have.... Go to his playlist n check it.👍
Great video! Also, what is the difference between reflection and introspection?
very nice
hello sir
many many thanks for your video series very helpful for many beginners like me
sir i have question that" does constructor have a return type if it is called as special method?"
and yes i am waiting for your video series on wcf and wpf
again many many thanks to you
Since Id creates a get_Id automatically I wondered what happened if I manually implemented that method with the exact same name of the method that is generated automatically.
If you do so you'll get the compiler error, with red lines beneath your get/set saying: "Type 'Typename' already reserves a member called 'get_PropertyName' with the exact same parameter types."
I wonder why the reserved method doesn't start with symbols that the compiler accepts, yet doesn't allow us to manually use, because if i recall correctly, this is how c# reserved certain autogenerated methods.
Where do I have examples of these I can see potential usefulness for those, but I would really like to se examples!
"2. Late binding is creating a class at runtime, instead of at compile time.. To dynamically create an instance of a type, about which we dont have any information at compile time. So reflection enables you to use code that is not available at compile time"
3. Consider two alternate implementations of an interface. You want the user to pick one using a config file. With reflection you can s imply read the name of the class whose implementation you want to use from the config file, and instantiate an instance of that class. This is another example for late binding using reflection.
"
Hi Venkat, Any plan on creating videos on ADO.NET or entity framework and LINQ.
I finally understand
Once you get a list of properties, can you set values to them, or get values from them?
am was so thank full for you people
thank u a lot
very good tutorial,
One question here..
How can you get the value of property using T,
like T.ID = ?
and how can I crate object of Customer Class using T
Thank You.
I have a doubt, for ex in the GetType("NamespaceA.ClassA"), this namespaceA can belong to the same or any other assembly as well?
Hi sir, I want to remove trailing and leading spaces of all properties from a list of object.please suggest the best way to do this
Any Best toturial to learn Windows Forms Application using C# ??
kud, do you have any good quality of the video ? B'coz it's to blur seeing at youtube.
how can I use reflection in a MVC structure to read property of a class in a web application?
thank you
thanks