Introduction
Today, in this article let's play around with one of the interesting and most
useful concept in C#.
Question: What
are extension methods?
In simple terms "Extension methods are a special kind of static method, but they
are called as if they were instance methods on the extended type."
Step 1: Create
a new console application
![console-application-in-csharp.png]()
Step 2: The
complete code of Arithmetic.cs looks like this
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
namespace
ExtensionMethodsApp