Skip to content

Glossary: C# Beyond the Basics

extension method

Also written: extension methods

A static method in a static class with `this` before its first parameter, so you can call it like a member, as in `orders.TotalValue()`. LINQ's methods are extension methods.

Where the book teaches it

Related terms

static classLINQ