An extension method is a language feature of some languages, such as Swift, Visual Basic.
I'm listening to a talk about C#4's dynamic keyword and I'm wondering... Will this feature be orthogonal to other .…
c# dynamic extension-methods c#-4.0I really like Last() and would use it all the time for List<T>s. But since it …
c# .net linq extension-methodsI've implemented some extension methods and put those in separate Class Library project. Imagine I have a simple extension method …
c# asp.net extension-methods class-libraryA senior member here gave me this code: public static string Truncate(this string value, int maxChars) { return value.Length &…
c# .net extension-methodsI typically name my C# interfaces as IThing. I'm creating an extension method class for IThing, but I don't know …
.net interface naming-conventions extension-methodsI'm a little bit confused about the different ways to use methods to interact with objects in C#, particularly the …
c# extension-methods poco static-classes instance-methodsIn the course of my maintenance for an older application that badly violated the cross-thread update rules in winforms, I …
c# winforms controls extension-methods invokeI wrote the extension method GenericExtension. Now I want to call the extension method Extension. But the value of methodInfo …
c# generics extension-methods methodinfoWhat are extension methods in .NET? EDIT: I have posted a follow up question at Usage of Extension Methods
.net extension-methodsI have a set of extension methods that I regularly use for various UI tasks. I typically define them to …
c# extension-methods