skip to main | skip to sidebar

Geeks At Work

Friday, November 2, 2007

Method Extensions in C# 3.0

One of the new features in C#.NET 3.0 is method extensions. You can add additional methods, for example, to the String class so you can have a ToEmployee method in it. The only difference between a regular static method and a method extension is the addition of the "this" keyword before the parameter declaration.
Posted by Nitin Reddy Katkam at 12:10 PM
Labels: .NET

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2008 (15)
    • ►  April (5)
    • ►  January (10)
  • ▼  2007 (61)
    • ►  December (19)
    • ▼  November (25)
      • Intel vPro
      • VS2008 and .NET 3.5 released on 19 Nov 07
      • Google BAdSense
      • Downgrading from Windows Vista to XP
      • Top 'n' SQL Query
      • New PHP, No IMAP
      • NAnt ...a short introduction by Nitin Reddy Katkam
      • Unreal Tournament 2004 Rocks
      • The MVC Pattern
      • Message Queue Characteristics
      • Virus Killer
      • Auto-update of Windows Service
      • My Web Windows Services Console
      • Remotely enable remote access
      • Inflexible ASP.NET Calendar control
      • The Joys of Distance Interviewing
      • MSDN: About Enterprise Architects
      • Resource files in Java
      • Bridging Business and I.T.
      • Findstr to grep on Windows
      • iPod Touch picky about its electrons
      • An AppSettings Equivalent
      • Episode 6 of Bionic Woman missing
      • Method Extensions in C# 3.0
      • Generic software components
    • ►  October (17)

About Me

Nitin Reddy Katkam
I'm Nitin Reddy Katkam, a software contractor and a former blogger.
View my complete profile