Useful Extension Methods
page 1 of 4
Published: 04 Mar 2008
In this article, Brian examines extension methods and how they can be used with .NET Framework applications. He begins with a short introduction and then provides a detailed explanation of the application of extension methods with the help of source code in C#.
by Brian Mains
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 22519/ 17


Extension methods are very useful.  They help extend the existing objects of .NET by attaching methods to it that it appears that it's a part of the object, but it's really not.  Let's look at some extension methods and how they can be useful.

View Entire Article

User Comments

Title: RE: Please specify the framework version   
Name: Brendan Enrick
Date: 2008-05-13 9:13:21 AM
Yes, extension methods were added in C# 3.0, so this is a new feature.
Title: Please specify the framework version   
Name: Vijil Jones
Date: 2008-05-13 7:38:16 AM
Is this new feature in .net 3 ?

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-07-17 9:01:08 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search