🚀 C# Progress Academy - Become a job-ready C# and Angular web developer to land your dream developer role: bit.ly/45vbPUg
@s.msk. Жыл бұрын
Thank you for another excellent short, valuable and informative video.
@tutorialsEUC Жыл бұрын
Our pleasure!
@imadayoub52376 ай бұрын
This is really perfect!! Thanks a lot for sharing.
@Brian-nz6nsАй бұрын
@2:42 you demonstrate the use of the extension method with name.Capitalize(), but the method Capitalize requires a string parameter, so why does this work ? If name is acting as the argument for the string parameter, then you must always call extension methods as parameter.Method() ? In this case what is name? A type, parameter, class, object, or what?
@yess.6558 Жыл бұрын
Great Video!
@Brian-nz6nsАй бұрын
What is the benefit to these extension methods? Simply a matter of syntax? You can now call name.Capitalize() instead of StringExtensions.Capitalize(name) ?
@sleightlysalty92725 күн бұрын
You don't require an instance. This doesn't matter much for small classes like in these examples, but it makes a difference for many other classes where you don't need to instantiate a brand new class just to use a method that doesn't require any instance variables.