ExtensionMethod.NET is a database of C# 3.0 and Visual Basic 2008 extension methods. It contains many user-rated
extension methods that will expand your code
library immediately.
Extension methods add functionality to existing classes and allow you to expand the .NET framework.
This way your favorite functions integrate seamlessly into the framework. For more information about
extension methods visit the
C# 3.0 and Visual Basic 2008
MSDN Library pages.
We invite you to submit your favorite extension methods and download and
use others.
TOP 3 Extension Methods
OrderBy(string sortExpression)
Submitted by
C.F.Meijers
on
2008/4/25
Orders a list based on a sortexpression. Useful in object databinding scenarios where the objectdatasource generates a dynamic sortexpression (example: "Name desc") that specifies the property of the object sort on.Language
C#
Type
System.Collections.Generic.IEnumerable<T>
Downloads
77
Encrypt & Decrypt
Submitted by
Mark de Rover
on
2008/1/02
Encrypt and decrypt a string using the RSACryptoServiceProvider.Language
C#
Type
System.String
Downloads
46
IsValidUrl
Submitted by
unkown
on
2007/10/17
Returns true when a string is a valid url Language
C#
Type
System.String
Downloads
39
Recently added
ScrollToBottom
Submitted by
Sean Fox
on
2008/12/25
Scrolls to the bottom of a Textbox.Language
C#
Type
System.Windows.Forms.TextBox
Downloads
1
SetCookie(), GetCookie(), DeleteCookie()
Submitted by
Fons Sonnemans
on
2008/12/10
Extension methods on HtmlDocument used to read, write and delete cookies in Silverlight applications.Language
C#
Type
System.Windows.Browser.HtmlDocument
Downloads
1
ToObservableCollection<T>()
Submitted by
Fons Sonnemans
on
2008/11/26
Convert a IEnumerable<T> to a ObservableCollection<T> and can be used in XAML (Silverlight and WPF) projectsLanguage
C#
Type
System.Collections.Generic.IEnumerable<T>
Downloads
5