O'Reilly logo

Functional C# by Wisnu Anggoro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Extending Object Functionality with Extension Methods

As we have already mentioned in the previous chapter, we are going to discuss extension methods in greater detail in this chapter. It will be helpful when we talk about LINQ, the essential technique of functional programming in C#, in the next chapter. The following are the topics we will cover in this chapter:

  • Practicing the use of extension methods and getting this new method in IntelliSense
  • Invoking extension methods from other assemblies
  • Creating new methods for an interface, collection, enumeration, and other objects
  • The advantages of extension methods in relation to functional programming
  • The limitations of extension methods

Getting closer to extension methods

An extension method ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required