Useful Extension Methods
page 1 of 4
Published: 04 Mar 2008
Abstract
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
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 22593/ 75

Introduction

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
Comment:
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
Comment:
Is this new feature in .net 3 ?






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


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-10-13 12:00:41 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search