Skip to main content
Version: 2.14.1

Humanizer.TupleizeExtensions

TupleizeExtensions Class

Convert int to named tuple strings (1 -> 'single', 2-> 'double' etc.). Only values 1-10, 100, and 1000 have specific names. All others will return 'n-tuple'.

public static class TupleizeExtensions

Inheritance System.Object → TupleizeExtensions

Methods

TupleizeExtensions.Tupleize(this int) Method

Converts integer to named tuple (e.g. 'single', 'double' etc.).

public static string Tupleize(this int input);

Parameters

input System.Int32

Integer

Returns

System.String
Named tuple