Ecng.Common
1.0.211
See the version list below for details.
dotnet add package Ecng.Common --version 1.0.211
NuGet\Install-Package Ecng.Common -Version 1.0.211
<PackageReference Include="Ecng.Common" Version="1.0.211" />
<PackageVersion Include="Ecng.Common" Version="1.0.211" />
<PackageReference Include="Ecng.Common" />
paket add Ecng.Common --version 1.0.211
#r "nuget: Ecng.Common, 1.0.211"
#:package Ecng.Common@1.0.211
#addin nuget:?package=Ecng.Common&version=1.0.211
#tool nuget:?package=Ecng.Common&version=1.0.211
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 | Versions 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. |
-
.NETStandard 2.0
- Ecng.SmartFormat (>= 1.0.37)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Nito.AsyncEx (>= 5.1.2)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net6.0
- Ecng.SmartFormat (>= 1.0.37)
- Nito.AsyncEx (>= 5.1.2)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
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.212 | 446 | 11/13/2025 |
| 1.0.211 | 1,217 | 11/10/2025 |
| 1.0.210 | 2,157 | 11/1/2025 |
| 1.0.209 | 1,424 | 10/28/2025 |
| 1.0.208 | 1,276 | 10/27/2025 |
| 1.0.207 | 1,274 | 10/27/2025 |
| 1.0.206 | 1,167 | 10/25/2025 |
| 1.0.205 | 4,902 | 10/3/2025 |
| 1.0.204 | 3,556 | 9/25/2025 |
| 1.0.203 | 8,557 | 8/30/2025 |
| 1.0.202 | 9,835 | 7/13/2025 |
| 1.0.201 | 1,169 | 7/13/2025 |
| 1.0.200 | 1,156 | 7/12/2025 |
| 1.0.199 | 2,558 | 7/8/2025 |
| 1.0.198 | 8,567 | 6/16/2025 |
| 1.0.197 | 1,386 | 6/9/2025 |
| 1.0.196 | 1,261 | 6/8/2025 |
| 1.0.195 | 2,883 | 5/21/2025 |
| 1.0.194 | 1,374 | 5/17/2025 |
| 1.0.193 | 3,002 | 5/12/2025 |
| 1.0.192 | 1,290 | 5/12/2025 |
| 1.0.191 | 3,918 | 4/17/2025 |
| 1.0.190 | 7,970 | 3/20/2025 |
| 1.0.189 | 1,185 | 3/19/2025 |
| 1.0.188 | 6,173 | 2/26/2025 |
| 1.0.187 | 1,311 | 2/26/2025 |
| 1.0.186 | 10,019 | 2/5/2025 |
| 1.0.185 | 5,270 | 1/21/2025 |
| 1.0.184 | 4,542 | 1/14/2025 |
| 1.0.183 | 3,364 | 1/12/2025 |
| 1.0.182 | 1,844 | 1/10/2025 |
| 1.0.181 | 10,745 | 11/18/2024 |
| 1.0.180 | 3,159 | 11/7/2024 |
| 1.0.179 | 2,536 | 10/19/2024 |
| 1.0.178 | 8,130 | 10/5/2024 |
| 1.0.177 | 6,172 | 9/18/2024 |
| 1.0.176 | 1,346 | 9/17/2024 |
| 1.0.175 | 6,578 | 9/1/2024 |
| 1.0.174 | 15,927 | 6/12/2024 |
| 1.0.173 | 4,200 | 5/28/2024 |
| 1.0.172 | 5,013 | 5/4/2024 |
| 1.0.171 | 6,540 | 4/14/2024 |
| 1.0.170 | 7,073 | 3/28/2024 |
| 1.0.169 | 1,664 | 3/17/2024 |
| 1.0.168 | 5,034 | 2/23/2024 |
| 1.0.167 | 1,630 | 2/23/2024 |
| 1.0.166 | 5,866 | 2/18/2024 |
| 1.0.165 | 1,730 | 2/16/2024 |
| 1.0.164 | 3,881 | 2/13/2024 |
| 1.0.163 | 3,599 | 2/8/2024 |
| 1.0.162 | 4,834 | 2/4/2024 |
| 1.0.161 | 4,235 | 1/23/2024 |
| 1.0.160 | 4,624 | 1/12/2024 |
| 1.0.159 | 6,930 | 1/2/2024 |
| 1.0.158 | 1,994 | 12/29/2023 |
| 1.0.157 | 20,400 | 11/12/2023 |
| 1.0.156 | 2,406 | 11/10/2023 |
| 1.0.155 | 1,884 | 11/10/2023 |
| 1.0.154 | 2,200 | 11/9/2023 |
| 1.0.153 | 2,973 | 11/3/2023 |
| 1.0.152 | 1,983 | 11/1/2023 |
| 1.0.151 | 1,996 | 11/1/2023 |
| 1.0.150 | 29,107 | 9/8/2023 |
| 1.0.149 | 2,528 | 9/8/2023 |
| 1.0.148 | 2,777 | 9/3/2023 |
| 1.0.147 | 3,012 | 8/21/2023 |
| 1.0.146 | 3,326 | 8/14/2023 |
| 1.0.145 | 3,621 | 8/10/2023 |
| 1.0.144 | 43,380 | 6/29/2023 |
| 1.0.143 | 17,913 | 5/27/2023 |
| 1.0.142 | 5,005 | 5/19/2023 |
| 1.0.141 | 28,769 | 5/8/2023 |
| 1.0.140 | 8,820 | 4/21/2023 |
| 1.0.139 | 55,004 | 4/3/2023 |
| 1.0.138 | 11,689 | 3/13/2023 |
| 1.0.137 | 23,115 | 3/6/2023 |
| 1.0.136 | 5,412 | 2/26/2023 |
| 1.0.135 | 63,028 | 2/9/2023 |
| 1.0.134 | 21,200 | 2/7/2023 |
| 1.0.133 | 5,332 | 2/4/2023 |
| 1.0.132 | 25,542 | 2/2/2023 |
| 1.0.131 | 21,832 | 1/30/2023 |
| 1.0.130 | 10,822 | 1/18/2023 |
| 1.0.129 | 51,820 | 12/30/2022 |
| 1.0.128 | 7,774 | 12/23/2022 |
| 1.0.127 | 26,098 | 12/12/2022 |
| 1.0.126 | 28,900 | 12/4/2022 |
| 1.0.125 | 5,941 | 12/4/2022 |
| 1.0.124 | 6,870 | 11/30/2022 |
| 1.0.123 | 10,135 | 11/28/2022 |
| 1.0.122 | 10,514 | 11/18/2022 |
| 1.0.121 | 33,928 | 11/11/2022 |
| 1.0.120 | 6,465 | 11/11/2022 |
| 1.0.119 | 6,360 | 11/10/2022 |
| 1.0.118 | 7,106 | 11/5/2022 |
| 1.0.117 | 8,210 | 11/4/2022 |
| 1.0.116 | 30,697 | 11/1/2022 |
| 1.0.115 | 36,153 | 10/16/2022 |
| 1.0.114 | 14,984 | 9/10/2022 |
| 1.0.113 | 58,336 | 9/8/2022 |
| 1.0.112 | 7,627 | 9/8/2022 |
| 1.0.111 | 7,694 | 9/8/2022 |
| 1.0.110 | 10,059 | 9/4/2022 |
| 1.0.109 | 98,142 | 8/24/2022 |
| 1.0.108 | 17,497 | 8/8/2022 |
| 1.0.107 | 10,751 | 7/26/2022 |
| 1.0.106 | 7,661 | 7/26/2022 |
| 1.0.105 | 60,339 | 7/19/2022 |
| 1.0.104 | 53,098 | 7/18/2022 |
| 1.0.103 | 13,708 | 7/8/2022 |
| 1.0.102 | 12,241 | 6/18/2022 |
| 1.0.101 | 7,797 | 6/6/2022 |
| 1.0.100 | 103,990 | 4/30/2022 |
| 1.0.99 | 7,683 | 4/20/2022 |
| 1.0.98 | 7,789 | 4/10/2022 |
| 1.0.97 | 7,695 | 4/7/2022 |
| 1.0.96 | 7,783 | 4/7/2022 |
| 1.0.95 | 7,822 | 4/2/2022 |
| 1.0.94 | 19,216 | 3/29/2022 |
| 1.0.93 | 10,641 | 3/27/2022 |
| 1.0.92 | 297,417 | 1/24/2022 |
| 1.0.91 | 168,081 | 12/29/2021 |
| 1.0.90 | 33,616 | 12/20/2021 |
| 1.0.89 | 6,669 | 12/13/2021 |
| 1.0.88 | 63,833 | 12/6/2021 |
| 1.0.87 | 8,249 | 12/2/2021 |
| 1.0.86 | 34,322 | 11/29/2021 |
| 1.0.85 | 33,096 | 11/22/2021 |
| 1.0.84 | 4,798 | 11/17/2021 |
| 1.0.83 | 35,109 | 11/13/2021 |
| 1.0.82 | 8,224 | 11/10/2021 |
| 1.0.81 | 5,035 | 11/9/2021 |
| 1.0.80 | 68,115 | 11/5/2021 |
| 1.0.79 | 7,013 | 11/4/2021 |
| 1.0.78 | 4,904 | 11/4/2021 |
| 1.0.77 | 4,832 | 11/3/2021 |
| 1.0.76 | 5,205 | 10/30/2021 |
| 1.0.75 | 36,711 | 10/21/2021 |
| 1.0.74 | 5,697 | 10/17/2021 |
| 1.0.73 | 66,864 | 10/14/2021 |
| 1.0.72 | 16,464 | 10/13/2021 |
| 1.0.71 | 5,272 | 10/12/2021 |
| 1.0.70 | 37,068 | 10/11/2021 |
| 1.0.69 | 5,095 | 10/9/2021 |
| 1.0.68 | 40,356 | 10/7/2021 |
| 1.0.67 | 42,496 | 10/7/2021 |
| 1.0.66 | 5,104 | 10/7/2021 |
| 1.0.65 | 5,094 | 10/6/2021 |
| 1.0.64 | 4,961 | 9/28/2021 |
| 1.0.63 | 39,032 | 9/23/2021 |
| 1.0.62 | 6,678 | 9/10/2021 |
| 1.0.61 | 4,757 | 9/9/2021 |
| 1.0.60 | 4,787 | 9/8/2021 |
| 1.0.59 | 4,822 | 9/8/2021 |
| 1.0.58 | 36,128 | 9/6/2021 |
| 1.0.57 | 5,101 | 8/31/2021 |
| 1.0.56 | 4,911 | 8/30/2021 |
| 1.0.55 | 38,245 | 7/31/2021 |
| 1.0.54 | 65,039 | 7/30/2021 |
| 1.0.53 | 5,122 | 7/26/2021 |
| 1.0.52 | 94,793 | 7/5/2021 |
| 1.0.51 | 5,050 | 7/1/2021 |
| 1.0.50 | 67,852 | 6/4/2021 |
| 1.0.49 | 96,392 | 4/26/2021 |
| 1.0.48 | 36,018 | 4/19/2021 |
| 1.0.47 | 155,441 | 4/7/2021 |
| 1.0.46 | 35,342 | 4/3/2021 |
| 1.0.45 | 185,027 | 3/22/2021 |
| 1.0.44 | 117,976 | 3/4/2021 |
| 1.0.43 | 38,166 | 2/26/2021 |
| 1.0.42 | 173,778 | 2/2/2021 |
| 1.0.41 | 124,305 | 1/24/2021 |
| 1.0.40 | 5,049 | 1/23/2021 |
| 1.0.39 | 63,473 | 1/20/2021 |
| 1.0.38 | 4,947 | 1/20/2021 |
| 1.0.37 | 37,307 | 1/18/2021 |
| 1.0.36 | 32,571 | 1/16/2021 |
| 1.0.35 | 123,978 | 12/16/2020 |
| 1.0.34 | 60,559 | 12/14/2020 |
| 1.0.33 | 37,794 | 12/9/2020 |
| 1.0.32 | 7,365 | 12/6/2020 |
| 1.0.31 | 9,184 | 12/2/2020 |
| 1.0.30 | 33,830 | 12/1/2020 |
| 1.0.29 | 198,051 | 11/12/2020 |
| 1.0.29-atestpub | 2,595 | 11/11/2020 |
| 1.0.28 | 35,078 | 10/11/2020 |
| 1.0.27 | 117,826 | 9/9/2020 |
| 1.0.26 | 33,497 | 9/3/2020 |
| 1.0.25 | 34,001 | 8/20/2020 |
| 1.0.24 | 89,918 | 8/9/2020 |
| 1.0.23 | 34,406 | 7/28/2020 |
| 1.0.22 | 33,469 | 7/19/2020 |
| 1.0.21 | 60,786 | 7/6/2020 |
| 1.0.20 | 90,375 | 6/6/2020 |
| 1.0.19 | 34,749 | 6/4/2020 |
| 1.0.18 | 62,141 | 5/29/2020 |
| 1.0.17 | 61,931 | 5/21/2020 |
| 1.0.16 | 6,111 | 5/17/2020 |
| 1.0.15 | 60,830 | 5/12/2020 |
| 1.0.14 | 116,026 | 5/4/2020 |
| 1.0.13 | 10,118 | 4/24/2020 |
| 1.0.12 | 13,283 | 4/22/2020 |
| 1.0.11 | 6,052 | 4/22/2020 |
| 1.0.10 | 5,928 | 4/21/2020 |
| 1.0.9 | 35,362 | 4/18/2020 |
| 1.0.8 | 33,174 | 4/16/2020 |
| 1.0.7 | 5,893 | 4/16/2020 |
| 1.0.6 | 28,203 | 4/15/2020 |
| 1.0.5 | 31,168 | 4/11/2020 |
| 1.0.4 | 29,711 | 4/3/2020 |
| 1.0.3 | 5,219 | 4/1/2020 |
| 1.0.2 | 16,677 | 3/27/2020 |
| 1.0.1 | 15,714 | 3/22/2020 |
| 1.0.0 | 8,457 | 3/22/2020 |
NoWait for IAsyncEnumerable<T>