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: 9-6-2015 14:34:56
  • Language: C#
  • Type: T
  • Views: 2124

Double click on the code to select all.

 

;