Dumps the specified input to the console using the default color.
Namespace: CleanCode.DiagnosticsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static IEnumerable<T> Dump<T>( this IEnumerable<T> input )
Parameters
- input
- Type:
System.Collections.Generic IEnumerable T
The input.
Type Parameters
- T
- The type of the elements of source.
Return Value
Input unchanged.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type


Examples
return words .Dump() .Select(word => word.Trim()) .Dump() .Select(word => word.ToLower()) .Dump() .Where(word => word.StartsWith("k")) .Dump() .OrderBy(word => word) .Dump();
See Also