example:
public event Action<List<WKSProfile>> WorkstationProfileChanged;
I have trouble understanding the the above member. Does it imply that it returns :
Action<List<WKSProfile>>
example:
public event Action<List<WKSProfile>> WorkstationProfileChanged;
I have trouble understanding the the above member. Does it imply that it returns :
Action<List<WKSProfile>>
This is the syntax to specify generic type parameters.
In a generic type or method definition, a type parameters is a placeholder for a specific type that a client specifies when they instantiate a variable of the generic type. A generic class, such as
GenericList<T>
listed in Introduction to Generics (C# Programming Guide), cannot be used as-is because it is not really a type; it is more like a blueprint for a type. To useGenericList<T>
, client code must declare and instantiate a constructed type by specifying a type argument inside the angle brackets.