Id

public static T Id<T>(this T value) 
{
   return value;
}
Example:
Console.WriteLine("Hello word".Id());

Description

Identity function

Details

  • Author: Anderson Vieira
  • Submitted on: 6/9/2015 2:34:56 PM
  • Language: C#
  • Type: T
  • Views: 1278

Double click on the code to select all.

 

;