Extension Methods(techbubbles.com)
submitted by
kalyanms1(1720) 3 years, 6 months ago
It is one of the new feature introduced in C# 3.0 “As the name implies, extension methods extend existing .NET types with new methods.”
Here i am going to extend the String type to write an extension method.
Example Adding a IsValidEmailAddress method onto an instance of string class:
|category: C#
|Views: 16
tags:
ExtensionMethods C# another
Everyones tags:
Your Tags: