Ecng.Common 1.0.209

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ecng.Common --version 1.0.209
                    
NuGet\Install-Package Ecng.Common -Version 1.0.209
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ecng.Common" Version="1.0.209" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ecng.Common" Version="1.0.209" />
                    
Directory.Packages.props
<PackageReference Include="Ecng.Common" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ecng.Common --version 1.0.209
                    
#r "nuget: Ecng.Common, 1.0.209"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ecng.Common@1.0.209
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ecng.Common&version=1.0.209
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Common&version=1.0.209
                    
Install as a Cake Tool

Ecng.Common

A set of helpers and extensions that simplify everyday .NET tasks. The library contains convenient string utilities, a fast CSV parser, and a flexible converter able to transform many data types.

Purpose

Provide reusable helpers for core scenarios so that applications can stay concise and readable.

Key Features

  • Rich string manipulation helpers
  • High performance CSV parsing
  • Flexible conversion between numerous types

String helpers

StringHelper adds small but handy methods:

"text".IsEmpty();                // bool check
"{0} + {1} = {2}".Put(1, 2, 3);  // simple formatting
"a\nb".SplitByLineSeps();         // split by any newline

CSV parser

FastCsvReader reads CSV data without allocations:

var csv = "Id;Name\n1;Foo\n2;Bar";
var reader = new FastCsvReader(csv, StringHelper.N);

while (reader.NextLine())
{
    var id = reader.ReadInt();
    var name = reader.ReadString();
    Console.WriteLine($"{id}: {name}");
}

Type converter

Converter easily casts objects across a wide range of types:

int number = "42".To<int>();        // string -> int
byte[] data = number.To<byte[]>();   // int -> byte[]
DateTime date = 1700L.To<DateTime>();

Additional converters can be registered through Converter.AddTypedConverter.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Ecng.Common:

Package Downloads
Ecng.Collections

Ecng system framework

Ecng.Localization

Ecng system framework

Ecng.Configuration

Ecng system framework

Ecng.IO

Ecng system framework

Ecng.Interop

Ecng system framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.210 1,709 11/1/2025
1.0.209 1,418 10/28/2025
1.0.208 1,268 10/27/2025
1.0.207 1,269 10/27/2025
1.0.206 1,162 10/25/2025
1.0.205 4,887 10/3/2025
1.0.204 3,553 9/25/2025
1.0.203 8,274 8/30/2025
1.0.202 9,821 7/13/2025
1.0.201 1,167 7/13/2025
1.0.200 1,154 7/12/2025
1.0.199 2,555 7/8/2025
1.0.198 8,561 6/16/2025
1.0.197 1,383 6/9/2025
1.0.196 1,257 6/8/2025
1.0.195 2,879 5/21/2025
1.0.194 1,371 5/17/2025
1.0.193 2,997 5/12/2025
1.0.192 1,288 5/12/2025
1.0.191 3,902 4/17/2025
1.0.190 7,967 3/20/2025
1.0.189 1,183 3/19/2025
1.0.188 6,167 2/26/2025
1.0.187 1,309 2/26/2025
1.0.186 9,999 2/5/2025
1.0.185 5,258 1/21/2025
1.0.184 4,540 1/14/2025
1.0.183 3,361 1/12/2025
1.0.182 1,841 1/10/2025
1.0.181 10,738 11/18/2024
1.0.180 3,154 11/7/2024
1.0.179 2,533 10/19/2024
1.0.178 8,127 10/5/2024
1.0.177 6,168 9/18/2024
1.0.176 1,340 9/17/2024
1.0.175 6,573 9/1/2024
1.0.174 15,921 6/12/2024
1.0.173 4,195 5/28/2024
1.0.172 5,008 5/4/2024
1.0.171 6,533 4/14/2024
1.0.170 7,070 3/28/2024
1.0.169 1,659 3/17/2024
1.0.168 5,029 2/23/2024
1.0.167 1,627 2/23/2024
1.0.166 5,861 2/18/2024
1.0.165 1,725 2/16/2024
1.0.164 3,877 2/13/2024
1.0.163 3,597 2/8/2024
1.0.162 4,818 2/4/2024
1.0.161 4,229 1/23/2024
1.0.160 4,618 1/12/2024
1.0.159 6,907 1/2/2024
1.0.158 1,990 12/29/2023
1.0.157 20,394 11/12/2023
1.0.156 2,404 11/10/2023
1.0.155 1,883 11/10/2023
1.0.154 2,187 11/9/2023
1.0.153 2,972 11/3/2023
1.0.152 1,979 11/1/2023
1.0.151 1,993 11/1/2023
1.0.150 29,097 9/8/2023
1.0.149 2,522 9/8/2023
1.0.148 2,776 9/3/2023
1.0.147 3,009 8/21/2023
1.0.146 3,324 8/14/2023
1.0.145 3,619 8/10/2023
1.0.144 43,376 6/29/2023
1.0.143 17,909 5/27/2023
1.0.142 5,001 5/19/2023
1.0.141 28,767 5/8/2023
1.0.140 8,815 4/21/2023
1.0.139 54,930 4/3/2023
1.0.138 11,685 3/13/2023
1.0.137 23,111 3/6/2023
1.0.136 5,407 2/26/2023
1.0.135 62,951 2/9/2023
1.0.134 21,120 2/7/2023
1.0.133 5,258 2/4/2023
1.0.132 25,531 2/2/2023
1.0.131 21,759 1/30/2023
1.0.130 10,817 1/18/2023
1.0.129 51,745 12/30/2022
1.0.128 7,769 12/23/2022
1.0.127 26,025 12/12/2022
1.0.126 28,897 12/4/2022
1.0.125 5,937 12/4/2022
1.0.124 6,798 11/30/2022
1.0.123 10,127 11/28/2022
1.0.122 10,511 11/18/2022
1.0.121 33,854 11/11/2022
1.0.120 6,391 11/11/2022
1.0.119 6,356 11/10/2022
1.0.118 7,034 11/5/2022
1.0.117 8,206 11/4/2022
1.0.116 30,693 11/1/2022
1.0.115 36,137 10/16/2022
1.0.114 14,981 9/10/2022
1.0.113 58,253 9/8/2022
1.0.112 7,624 9/8/2022
1.0.111 7,687 9/8/2022
1.0.110 10,056 9/4/2022
1.0.109 98,134 8/24/2022
1.0.108 17,480 8/8/2022
1.0.107 10,749 7/26/2022
1.0.106 7,659 7/26/2022
1.0.105 60,328 7/19/2022
1.0.104 53,094 7/18/2022
1.0.103 13,704 7/8/2022
1.0.102 12,228 6/18/2022
1.0.101 7,792 6/6/2022
1.0.100 103,984 4/30/2022
1.0.99 7,680 4/20/2022
1.0.98 7,784 4/10/2022
1.0.97 7,691 4/7/2022
1.0.96 7,778 4/7/2022
1.0.95 7,817 4/2/2022
1.0.94 19,210 3/29/2022
1.0.93 10,636 3/27/2022
1.0.92 297,383 1/24/2022
1.0.91 168,007 12/29/2021
1.0.90 33,540 12/20/2021
1.0.89 6,662 12/13/2021
1.0.88 63,757 12/6/2021
1.0.87 8,244 12/2/2021
1.0.86 34,317 11/29/2021
1.0.85 33,091 11/22/2021
1.0.84 4,792 11/17/2021
1.0.83 35,037 11/13/2021
1.0.82 8,219 11/10/2021
1.0.81 5,031 11/9/2021
1.0.80 68,111 11/5/2021
1.0.79 6,939 11/4/2021
1.0.78 4,901 11/4/2021
1.0.77 4,828 11/3/2021
1.0.76 5,199 10/30/2021
1.0.75 36,706 10/21/2021
1.0.74 5,693 10/17/2021
1.0.73 66,790 10/14/2021
1.0.72 16,389 10/13/2021
1.0.71 5,198 10/12/2021
1.0.70 36,997 10/11/2021
1.0.69 5,091 10/9/2021
1.0.68 40,352 10/7/2021
1.0.67 42,493 10/7/2021
1.0.66 5,101 10/7/2021
1.0.65 5,091 10/6/2021
1.0.64 4,957 9/28/2021
1.0.63 39,026 9/23/2021
1.0.62 6,675 9/10/2021
1.0.61 4,753 9/9/2021
1.0.60 4,783 9/8/2021
1.0.59 4,818 9/8/2021
1.0.58 36,124 9/6/2021
1.0.57 5,097 8/31/2021
1.0.56 4,908 8/30/2021
1.0.55 38,239 7/31/2021
1.0.54 64,967 7/30/2021
1.0.53 5,118 7/26/2021
1.0.52 94,719 7/5/2021
1.0.51 5,044 7/1/2021
1.0.50 67,848 6/4/2021
1.0.49 96,389 4/26/2021
1.0.48 35,945 4/19/2021
1.0.47 155,435 4/7/2021
1.0.46 35,269 4/3/2021
1.0.45 185,021 3/22/2021
1.0.44 117,969 3/4/2021
1.0.43 38,162 2/26/2021
1.0.42 173,706 2/2/2021
1.0.41 124,233 1/24/2021
1.0.40 5,045 1/23/2021
1.0.39 63,465 1/20/2021
1.0.38 4,944 1/20/2021
1.0.37 37,302 1/18/2021
1.0.36 32,490 1/16/2021
1.0.35 123,965 12/16/2020
1.0.34 60,485 12/14/2020
1.0.33 37,721 12/9/2020
1.0.32 7,292 12/6/2020
1.0.31 9,112 12/2/2020
1.0.30 33,756 12/1/2020
1.0.29 198,048 11/12/2020
1.0.29-atestpub 2,591 11/11/2020
1.0.28 35,074 10/11/2020
1.0.27 117,822 9/9/2020
1.0.26 33,484 9/3/2020
1.0.25 33,997 8/20/2020
1.0.24 89,914 8/9/2020
1.0.23 34,400 7/28/2020
1.0.22 33,397 7/19/2020
1.0.21 60,782 7/6/2020
1.0.20 90,369 6/6/2020
1.0.19 34,677 6/4/2020
1.0.18 62,136 5/29/2020
1.0.17 61,859 5/21/2020
1.0.16 6,107 5/17/2020
1.0.15 60,826 5/12/2020
1.0.14 116,020 5/4/2020
1.0.13 10,113 4/24/2020
1.0.12 13,210 4/22/2020
1.0.11 5,980 4/22/2020
1.0.10 5,921 4/21/2020
1.0.9 35,290 4/18/2020
1.0.8 33,170 4/16/2020
1.0.7 5,890 4/16/2020
1.0.6 28,199 4/15/2020
1.0.5 31,163 4/11/2020
1.0.4 29,705 4/3/2020
1.0.3 5,215 4/1/2020
1.0.2 16,605 3/27/2020
1.0.1 15,640 3/22/2020
1.0.0 8,432 3/22/2020

IOHelper. GetDirectoriesAsync, GetFilesAsync.