Id
Identity function
Source
public static T Id<T>(this T value)
{
return value;
}
Example
Console.WriteLine("Hello word".Id());
ExtensionMethod.NET Home of 880 C#, Visual Basic, F# and Javascript extension methods
Identity function
public static T Id<T>(this T value)
{
return value;
}
Console.WriteLine("Hello word".Id());