StringExtensions.CsvToInt method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings.Extensions
Assembly Skybrud.Essentials.dll

CsvToInt(string)

Extension method

Converts a comma separated string into an array of integers.

public static Int32[] CsvToInt(this string str)

Parameters

str String

The comma separated string to be converted.

Returns

Array of int

An array of int .