What are Extension Methods in C# ? | C# Interview Questions & Answers

Поділитися
Вставка
  • Опубліковано 14 сер 2012
  • For more such videos visit www.questpond.com
    For more such videos subscribe ua-cam.com/users/questpondvide...
    See our other Step by Step video series below :-
    For more such videos subscribe / questpondvideos
    See our other Step by Step video series below :-
    JavaScript Interview Questions: • JavaScript Interview Q...
    Abstract class vs Interface in C# :- • Abstract Class vs Inte...
    C# tutorial for beginners(4 hrs):- • C# Tutorial for Beginn...
    Learn Azure Step by Step:- • Azure Tutorial for Beg...
    Azure AZ-900 fundamentals certification :- • AZ 900 Certification |...
    Angular Interview Questions and Answers :- • Angular Interview Ques...
    Learn Angular tutorial step by step tinyurl.com/ycd9j895
    Learn MVC 5 step by step in 16 hours:- • Learn ASP.NET MVC 5 ( ...
    Learn Design Pattern Step by Step goo.gl/eJdn0m
    Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
    Learn SQL Server Step by Step tinyurl.com/ja4zmwu
    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
    PHP Interview Questions : • PHP Interview Question...
    Learn Tableau step by step :- tinyurl.com/kh6ojyo
    Preparing for C# / .NET interviews start here • C# Interview Questions...
    In this video we will try to understand what are extension methods in c# / .NET and in what scenarios we should use them. This is also a favourite interview question which is asked during .NET and c# interviews.
    We are also distributing a 100 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.
    -----------------------------------------------------------------------------------------------
    For more details :-
    🌐 Website : www.questpond.com
    📱 Mob. No. : +91-9967590707 / +91 7700975156 / +91-22-49786776
    📧Email : questpond@questpond.com / questpond@gmail.com / questpond@yahoo.com
    Share, Support, Subscribe and Connect us on!!!
    UA-cam: / questpondvideos
    Twitter: / questpond
    Instagram : / questpond
    Facebook : / questpond
    #CSharpExtensionMethods #ExtensionMethods #ExtensionMethodsinC# #CsharpInterviewQuestions&Answers #C#.NETInterviewQuestions #ExplainExtensionMethods

КОМЕНТАРІ • 44

  • @questpondvideos
    @questpondvideos  3 роки тому

    ASP.NET, C# Job Market : ua-cam.com/video/H3JEWAp32-s/v-deo.html
    30 Important C# Interview Questions : ua-cam.com/video/BKynEBPqiIM/v-deo.html
    25+ OOPS Interview Questions : ua-cam.com/video/u99wAoBjDvQ/v-deo.html
    Software Architecture Interview Questions : ua-cam.com/video/AtTgcbLOqMM/v-deo.html
    20+ SQL Server Interview Questions : ua-cam.com/video/SEdAF8mSKS4/v-deo.html
    10+ Power BI Interview Questions : ua-cam.com/video/Cozc9WNBRt4/v-deo.html
    20 MSBI Interview Questions : ua-cam.com/video/Nw_sHEKnOUE/v-deo.html
    SQL Server Joins : ua-cam.com/video/KTvYHEntvn8/v-deo.html
    SQL Step by Step - ua-cam.com/video/uGlfP9o7kmY/v-deo.html
    Angular Step by Step Tutorial for Beginners : ua-cam.com/video/-9VcW7MBDs8/v-deo.html
    25 Angular Interview Questions : ua-cam.com/video/-jeoyDJDsSM/v-deo.html
    25 Important ASP.NET Interview Questions : ua-cam.com/video/pXmMdmJUC0g/v-deo.html
    35 Important JavaScript Interview Questions : ua-cam.com/video/Zb4dPi7CANU/v-deo.html
    20 MySQL Interview Questions : ua-cam.com/video/9hfjC-BpY20/v-deo.html
    5 MSBI Interview Questions : ua-cam.com/video/5E815aXAwYQ/v-deo.html
    20 PHP Interview Questions : ua-cam.com/video/1bpNSynUrl8/v-deo.html

  • @MiddleEasternInAmerica
    @MiddleEasternInAmerica 12 років тому +5

    great video , i like it ...
    first time i heard about extension methods I thought of " visitor pattern " ...
    thanks million for this explanation...
    waiting for more wonderful videos

  • @thisisgaurang
    @thisisgaurang 10 років тому +1

    Simply Fantastic. Excellent.

  • @mnemukula
    @mnemukula 10 років тому

    This is an awesome video. Very easy and straightforward

  • @satyaphani9096
    @satyaphani9096 4 роки тому +2

    first time i understood this concept through this video

  • @Koiw506
    @Koiw506 3 роки тому +2

    i love so much your teaching style ♥

  • @alagarswamyingersoll
    @alagarswamyingersoll 2 роки тому

    Excellent explanation ,sir .Thank you

  • @AmmarTheTrainer
    @AmmarTheTrainer 5 років тому

    Good and easy explanation. Thank-You sir.

  • @jkmalify
    @jkmalify 6 років тому

    Thank you Sir...really helpful

  • @mutshidziphaswana1706
    @mutshidziphaswana1706 4 роки тому

    Best explanation 🙌🏼

  • @ShakirAlimit
    @ShakirAlimit 5 років тому

    Very nice, thanks for sharing.

  • @manjeetnandal1
    @manjeetnandal1 4 роки тому

    Very informative!

  • @imadabab
    @imadabab 6 місяців тому

    Outstanding explanation. Thanks a lot.

  • @manishiap
    @manishiap 10 років тому

    great, very useful

  • @Diamond_galaxy-friends-is--key
    @Diamond_galaxy-friends-is--key 7 років тому

    u r great sir

  • @Avinashkumar-dq2rm
    @Avinashkumar-dq2rm 2 роки тому

    Very Much informative video sir…

  • @NeerajKumar-zh9bv
    @NeerajKumar-zh9bv 2 роки тому

    Listening this in 2021. Osm video sir.

  • @kadamnarendra123
    @kadamnarendra123 5 років тому +1

    Very nice video

  • @veedfriendforever5990
    @veedfriendforever5990 3 роки тому

    nice describe thank you

  • @DHARMENDRAKUMARdkp
    @DHARMENDRAKUMARdkp 2 роки тому

    Nice Sir... I love your video ...

  • @rainvictorron2413
    @rainvictorron2413 5 років тому

    Is it still possible if i create an interface with the add object in it then implements it to an interface of the subtract function?

  • @DHARMENDRAKUMARdkp
    @DHARMENDRAKUMARdkp 2 роки тому

    Your sound quality is very nice that we expect...

  • @mauroldanr
    @mauroldanr 2 роки тому

    Thank you

  • @Anubis10110
    @Anubis10110 3 роки тому

    Perfect

  • @user-md4mx4uq4q
    @user-md4mx4uq4q 9 місяців тому

    great thank you!

  • @DHARMENDRAKUMARdkp
    @DHARMENDRAKUMARdkp 2 роки тому

    Nice sir....

  • @questpondvideos
    @questpondvideos  12 років тому +3

    c# and .NET training :- What are extension methods in c# ? (Interview questions)

  • @sumitkhillare4718
    @sumitkhillare4718 2 роки тому

    Hello sir
    Can u make a video on object cloning in c# ?

  • @tvsnmurthy2370
    @tvsnmurthy2370 6 років тому +1

    Why static is used for extension methods and that class

  • @shaillysharma5844
    @shaillysharma5844 4 роки тому

    Best explained

    • @questpondvideos
      @questpondvideos  4 роки тому

      👊👊👊👊👊👊Smash the Subscribe button if you like it.👊👊👊👊👊👊 and visit www.questpond.com

  • @tinotendagarwe4929
    @tinotendagarwe4929 3 роки тому

    I have a question though. How can I use the same string in multiple methods

  • @kraadhithya9841
    @kraadhithya9841 2 роки тому

    How can without initializing the somemoremath class (obj1) you use in program .cs to call subtract?

  • @manojsharma7393
    @manojsharma7393 10 років тому +2

    Extension Methods are for LINQ. Only static props can be used in it.

  • @ctaproductions2272
    @ctaproductions2272 5 років тому

    please explain why you are writing extension method in that way? why maths class is added in parameters?

  • @vinodpasi8021
    @vinodpasi8021 8 років тому +8

    If Extension methods are implemented as static member then how it is possible to use them as instance member? What concept C# uses behind the scene?

    • @noormohammad5740
      @noormohammad5740 Рік тому

      The moment we use this keywords and provide class name then extension method becomes nonstatic

  • @bossofyoutube
    @bossofyoutube 6 років тому +1

    How about inherting a math class to new class and add subtract method over there and it can be used by initializing child and also this child initialization can use add method of parent

    • @Mahamad1231
      @Mahamad1231 5 років тому

      that was exactly what i was thinking of !

    • @basantkumar4900
      @basantkumar4900 3 роки тому +3

      But what if the Math class is a sealed class?

  • @questpondvideos
    @questpondvideos  4 роки тому

    New Announcement from Questpond ".NET(C#) FUNDAMENTALS, .NET COLLECTIONS, GENERICS" Course now available @ 799 /12 $. If Interested visit this Link for Subscription with Questpond
    www.questpond.com/netc-fundamentals-net-collections-generics/cid22