Func<T, TResult> for with void TResult?

.net, c#

Solution

`Action<T>` - "Encapsulates a method that takes a single parameter and does not return a value"

Problem

`Func<>` is very convenient in .NET. Is there a way i can specify the param type and have the result value as void? I'd like to pass `void Write(string)` as a parameter.

Original source