Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / extension

Extension

extension

Great Reads

by Oleg Shilo
The extremely simple implementation of generic "Extension Properties"
by Matteo Prosperi
This is the second post in the .NET libraries and the art of backward compatibility series.
by TheGreatAndPowerfulOz
How to recursively select all descendants using an extension method
by David Sehnal
A computation wrapper with built-in progress tracking using Reactive Extensions for .NET (and AsyncCTP).

Latest Articles

by Oleg Shilo
The extremely simple implementation of generic "Extension Properties"
by Matteo Prosperi
This is the second post in the .NET libraries and the art of backward compatibility series.
by TheGreatAndPowerfulOz
How to recursively select all descendants using an extension method
by David Sehnal
A computation wrapper with built-in progress tracking using Reactive Extensions for .NET (and AsyncCTP).

All Articles

Sort by Score

extension 

by TheGreatAndPowerfulOz
How to recursively select all descendants using an extension method
by Sympletech
A little guide to introduce you how to create a JQuery Extension Method
by veen_rp
This message will self destruct in 5 seconds...
by Amit_Mittal
An easy way to bind XAML with properties defined in code behind
by _Noctis_
This will allow you to integrate your linqpad code easily to Visual Studio
by #realJSOP
This is an alternative for "Compareing Two Complex objects of same class"
by Mikhail-T
Tutorial on how to create simple extension that converts view model propety name to string
by Jaume González
To inherit an Entity Framework class, to extend it, bind to data and unmap it from DBContext.
by Jaume González
Easy seralization by adding extension methods to generic class
by Jaume González
How to make sessions easy to use by extending .NET object class
by axuno
Take this ready-to-use VBA module for MS-Outlook, that lets you export all mail messages selected in the current Outlook email browser to the file system.
by AmitGajjar
An efficient extended search API to search from a text file.
by MahendraChawhan
Extension method for Generic Collection to DataTable
by Kabwla.Phone
Determine visibility in complex (or composite) form
by George Danila
An Extension Method that might help you copy over the values from one object to another, provided they are of the same type.
by Daniel Lo Nigro
As far as I know, the "UpdateModel" method is designed to do this. Something like this should work, but I haven't tested it:public ActionResult Edit(Entity entity){ var entityInDbSet = _context.Set.SingleOrDefault(x => x.Id == entity.Id); UpdateModel(entityInDbSet); ...
by Kabwla.Phone
Set visibility in complex (or composite) form.
by DotNetSteve
Creating an extension class for View Models to save public properties using Generics and Delegates, replacing a reflection implementation
by #realJSOP
One approach to find a specific exception type inside the containing exception
by BillWoodruff
Create collections of #n sized elements from arrays, lists, and string
by Amjad Abu Saa
An easy way to make a custom file type and associate it to your C# application
by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
by dynamichael
Use extension methods, Encoding, and BitConverter to read and write native types on an IO.Stream object
by User-Rock
Silverlight user control validation display techniques
by HenkAlles
Show Simple Log - see the article by Jochen Scharr - in the browser with a nice layout
by Javier Tirado Pampín
This article talks about how to solve the filter problem in Telerik MVC Extensions control suite
by Karthik. A
This tip gives a few extension methods that could be helpful and also provides a few tips about extension methods
by jfriedman
In my opinion, creating the new interface seems to be an unnecessary part of this article...Extensions Methods for IEnumerable is the topic of the said article…which is provided by the existing system.Building a new interface which is not part of the native system is not actually...
by Awesome Dev
How to bypass the strict System.Version parse mechanics using a C# extension
by Mykola Tarasyuk
An approach to call built-in Visual Studio commands from within Visual Studio extensions
by RCoate
Using Extension Methods to validate string, integer, datetime, and bool values.
by DaveAuld
A couple of useful extensions for VSCode to help manage your TODOs FIXMEs, etc.
by Andreas Gieriet
How Linq extension methods benefit from interfaces inheriting from interfaces