What do greater/less than sign (e.g. Action<List<X>>) mean in C#?

.net, c#, syntax

Solution

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 use `GenericList<T>`, client code must declare and instantiate a constructed type by specifying a type argument inside the angle brackets.

Problem

example: ``` public event Action<List<WKSProfile>> WorkstationProfileChanged; ``` I have trouble understanding the the above member. Does it imply that it returns : ``` Action<List<WKSProfile>> ```

Original source

Related problems