Extension Method
A static method callable as though it were an instance method of another type.
What is Extension Method in C#?
Extension Method — A static method callable as though it were an instance method of another type.
static class StringExtensions
{
public static bool IsBlank(this string text)
{
return string.IsNullOrWhiteSpace(text);
}
}
Level: Freelancer · More C# terms at this level
Updated