Method Identity
Identity<T>(T)
Returns the identity function for a given type.
Declaration
public static T Identity<T>(T x)Parameters
| Type | Name | Description | 
|---|---|---|
| T | x | 
Returns
| Type | Description | 
|---|---|
| T | A reference to the identity function | 
Type Parameters
| Name | Description | 
|---|---|
| T | The type of identity function |