Ecng.Common
1.0.215
See the version list below for details.
dotnet add package Ecng.Common --version 1.0.215
NuGet\Install-Package Ecng.Common -Version 1.0.215
<PackageReference Include="Ecng.Common" Version="1.0.215" />
<PackageVersion Include="Ecng.Common" Version="1.0.215" />
<PackageReference Include="Ecng.Common" />
paket add Ecng.Common --version 1.0.215
#r "nuget: Ecng.Common, 1.0.215"
#:package Ecng.Common@1.0.215
#addin nuget:?package=Ecng.Common&version=1.0.215
#tool nuget:?package=Ecng.Common&version=1.0.215
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 is compatible. 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.38)
- 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)
-
net10.0
- Ecng.SmartFormat (>= 1.0.38)
- Nito.AsyncEx (>= 5.1.2)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 10.0.0)
-
net6.0
- Ecng.SmartFormat (>= 1.0.38)
- Nito.AsyncEx (>= 5.1.2)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
NuGet packages (8)
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.Backup
Ecng system framework |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.240 | 722 | 1/4/2026 |
| 1.0.239 | 2,436 | 12/30/2025 |
| 1.0.238 | 1,157 | 12/29/2025 |
| 1.0.237 | 1,616 | 12/26/2025 |
| 1.0.236 | 1,165 | 12/26/2025 |
| 1.0.235 | 1,157 | 12/26/2025 |
| 1.0.234 | 1,161 | 12/26/2025 |
| 1.0.233 | 1,287 | 12/25/2025 |
| 1.0.232 | 1,256 | 12/25/2025 |
| 1.0.231 | 1,755 | 12/22/2025 |
| 1.0.230 | 1,328 | 12/21/2025 |
| 1.0.229 | 1,398 | 12/19/2025 |
| 1.0.228 | 1,300 | 12/19/2025 |
| 1.0.227 | 1,461 | 12/17/2025 |
| 1.0.226 | 2,433 | 12/15/2025 |
| 1.0.225 | 3,074 | 12/12/2025 |
| 1.0.224 | 3,974 | 12/12/2025 |
| 1.0.223 | 4,274 | 11/29/2025 |
| 1.0.222 | 1,363 | 11/28/2025 |
| 1.0.221 | 1,358 | 11/28/2025 |
| 1.0.220 | 1,448 | 11/27/2025 |
| 1.0.219 | 1,544 | 11/24/2025 |
| 1.0.218 | 1,464 | 11/24/2025 |
| 1.0.217 | 1,448 | 11/23/2025 |
| 1.0.216 | 2,046 | 11/22/2025 |
| 1.0.215 | 2,477 | 11/20/2025 |
| 1.0.214 | 1,673 | 11/18/2025 |
| 1.0.213 | 1,608 | 11/18/2025 |
| 1.0.212 | 1,718 | 11/13/2025 |
| 1.0.211 | 1,576 | 11/10/2025 |
| 1.0.210 | 2,492 | 11/1/2025 |
| 1.0.209 | 1,752 | 10/28/2025 |
| 1.0.208 | 1,710 | 10/27/2025 |
| 1.0.207 | 1,605 | 10/27/2025 |
| 1.0.206 | 1,509 | 10/25/2025 |
| 1.0.205 | 5,236 | 10/3/2025 |
| 1.0.204 | 3,887 | 9/25/2025 |
| 1.0.203 | 9,950 | 8/30/2025 |
| 1.0.202 | 10,424 | 7/13/2025 |
| 1.0.201 | 1,494 | 7/13/2025 |
| 1.0.200 | 1,481 | 7/12/2025 |
| 1.0.199 | 2,912 | 7/8/2025 |
| 1.0.198 | 8,923 | 6/16/2025 |
| 1.0.197 | 1,721 | 6/9/2025 |
| 1.0.196 | 1,596 | 6/8/2025 |
| 1.0.195 | 3,225 | 5/21/2025 |
| 1.0.194 | 1,719 | 5/17/2025 |
| 1.0.193 | 3,339 | 5/12/2025 |
| 1.0.192 | 1,618 | 5/12/2025 |
| 1.0.191 | 4,280 | 4/17/2025 |
| 1.0.190 | 8,312 | 3/20/2025 |
| 1.0.189 | 1,511 | 3/19/2025 |
| 1.0.188 | 6,547 | 2/26/2025 |
| 1.0.187 | 1,635 | 2/26/2025 |
| 1.0.186 | 10,373 | 2/5/2025 |
| 1.0.185 | 5,599 | 1/21/2025 |
| 1.0.184 | 4,863 | 1/14/2025 |
| 1.0.183 | 3,688 | 1/12/2025 |
| 1.0.182 | 2,170 | 1/10/2025 |
| 1.0.181 | 11,087 | 11/18/2024 |
| 1.0.180 | 3,476 | 11/7/2024 |
| 1.0.179 | 2,859 | 10/19/2024 |
| 1.0.178 | 8,471 | 10/5/2024 |
| 1.0.177 | 6,502 | 9/18/2024 |
| 1.0.176 | 1,669 | 9/17/2024 |
| 1.0.175 | 6,906 | 9/1/2024 |
| 1.0.174 | 16,267 | 6/12/2024 |
| 1.0.173 | 4,522 | 5/28/2024 |
| 1.0.172 | 5,339 | 5/4/2024 |
| 1.0.171 | 6,860 | 4/14/2024 |
| 1.0.170 | 7,397 | 3/28/2024 |
| 1.0.169 | 1,986 | 3/17/2024 |
| 1.0.168 | 5,355 | 2/23/2024 |
| 1.0.167 | 1,951 | 2/23/2024 |
| 1.0.166 | 6,188 | 2/18/2024 |
| 1.0.165 | 2,065 | 2/16/2024 |
| 1.0.164 | 4,211 | 2/13/2024 |
| 1.0.163 | 3,922 | 2/8/2024 |
| 1.0.162 | 5,217 | 2/4/2024 |
| 1.0.161 | 4,550 | 1/23/2024 |
| 1.0.160 | 4,957 | 1/12/2024 |
| 1.0.159 | 7,260 | 1/2/2024 |
| 1.0.158 | 2,314 | 12/29/2023 |
| 1.0.157 | 20,736 | 11/12/2023 |
| 1.0.156 | 2,717 | 11/10/2023 |
| 1.0.155 | 2,189 | 11/10/2023 |
| 1.0.154 | 2,503 | 11/9/2023 |
| 1.0.153 | 3,283 | 11/3/2023 |
| 1.0.152 | 2,290 | 11/1/2023 |
| 1.0.151 | 2,299 | 11/1/2023 |
| 1.0.150 | 29,467 | 9/8/2023 |
| 1.0.149 | 2,830 | 9/8/2023 |
| 1.0.148 | 3,080 | 9/3/2023 |
| 1.0.147 | 3,318 | 8/21/2023 |
| 1.0.146 | 3,632 | 8/14/2023 |
| 1.0.145 | 3,922 | 8/10/2023 |
| 1.0.144 | 43,709 | 6/29/2023 |
| 1.0.143 | 18,234 | 5/27/2023 |
| 1.0.142 | 5,320 | 5/19/2023 |
| 1.0.141 | 29,077 | 5/8/2023 |
| 1.0.140 | 9,129 | 4/21/2023 |
| 1.0.139 | 55,664 | 4/3/2023 |
| 1.0.138 | 12,000 | 3/13/2023 |
| 1.0.137 | 23,418 | 3/6/2023 |
| 1.0.136 | 5,726 | 2/26/2023 |
| 1.0.135 | 63,694 | 2/9/2023 |
| 1.0.134 | 21,846 | 2/7/2023 |
| 1.0.133 | 5,976 | 2/4/2023 |
| 1.0.132 | 25,875 | 2/2/2023 |
| 1.0.131 | 22,495 | 1/30/2023 |
| 1.0.130 | 11,132 | 1/18/2023 |
| 1.0.129 | 52,495 | 12/30/2022 |
| 1.0.128 | 8,094 | 12/23/2022 |
| 1.0.127 | 26,759 | 12/12/2022 |
| 1.0.126 | 29,232 | 12/4/2022 |
| 1.0.125 | 6,256 | 12/4/2022 |
| 1.0.124 | 7,521 | 11/30/2022 |
| 1.0.123 | 10,449 | 11/28/2022 |
| 1.0.122 | 10,837 | 11/18/2022 |
| 1.0.121 | 34,590 | 11/11/2022 |
| 1.0.120 | 7,110 | 11/11/2022 |
| 1.0.119 | 6,672 | 11/10/2022 |
| 1.0.118 | 7,760 | 11/5/2022 |
| 1.0.117 | 8,531 | 11/4/2022 |
| 1.0.116 | 31,017 | 11/1/2022 |
| 1.0.115 | 36,609 | 10/16/2022 |
| 1.0.114 | 15,298 | 9/10/2022 |
| 1.0.113 | 58,991 | 9/8/2022 |
| 1.0.112 | 7,941 | 9/8/2022 |
| 1.0.111 | 8,005 | 9/8/2022 |
| 1.0.110 | 10,374 | 9/4/2022 |
| 1.0.109 | 98,453 | 8/24/2022 |
| 1.0.108 | 17,814 | 8/8/2022 |
| 1.0.107 | 11,072 | 7/26/2022 |
| 1.0.106 | 7,979 | 7/26/2022 |
| 1.0.105 | 60,656 | 7/19/2022 |
| 1.0.104 | 53,414 | 7/18/2022 |
| 1.0.103 | 14,032 | 7/8/2022 |
| 1.0.102 | 12,557 | 6/18/2022 |
| 1.0.101 | 8,111 | 6/6/2022 |
| 1.0.100 | 104,303 | 4/30/2022 |
| 1.0.99 | 7,995 | 4/20/2022 |
| 1.0.98 | 8,096 | 4/10/2022 |
| 1.0.97 | 8,005 | 4/7/2022 |
| 1.0.96 | 8,104 | 4/7/2022 |
| 1.0.95 | 8,139 | 4/2/2022 |
| 1.0.94 | 19,534 | 3/29/2022 |
| 1.0.93 | 10,953 | 3/27/2022 |
| 1.0.92 | 297,885 | 1/24/2022 |
| 1.0.91 | 168,738 | 12/29/2021 |
| 1.0.90 | 34,266 | 12/20/2021 |
| 1.0.89 | 6,982 | 12/13/2021 |
| 1.0.88 | 64,491 | 12/6/2021 |
| 1.0.87 | 8,581 | 12/2/2021 |
| 1.0.86 | 34,648 | 11/29/2021 |
| 1.0.85 | 33,424 | 11/22/2021 |
| 1.0.84 | 5,111 | 11/17/2021 |
| 1.0.83 | 35,764 | 11/13/2021 |
| 1.0.82 | 8,542 | 11/10/2021 |
| 1.0.81 | 5,354 | 11/9/2021 |
| 1.0.80 | 68,432 | 11/5/2021 |
| 1.0.79 | 7,662 | 11/4/2021 |
| 1.0.78 | 5,220 | 11/4/2021 |
| 1.0.77 | 5,147 | 11/3/2021 |
| 1.0.76 | 5,524 | 10/30/2021 |
| 1.0.75 | 37,041 | 10/21/2021 |
| 1.0.74 | 6,010 | 10/17/2021 |
| 1.0.73 | 67,543 | 10/14/2021 |
| 1.0.72 | 17,122 | 10/13/2021 |
| 1.0.71 | 5,919 | 10/12/2021 |
| 1.0.70 | 37,724 | 10/11/2021 |
| 1.0.69 | 5,415 | 10/9/2021 |
| 1.0.68 | 40,674 | 10/7/2021 |
| 1.0.67 | 42,821 | 10/7/2021 |
| 1.0.66 | 5,413 | 10/7/2021 |
| 1.0.65 | 5,409 | 10/6/2021 |
| 1.0.64 | 5,280 | 9/28/2021 |
| 1.0.63 | 39,370 | 9/23/2021 |
| 1.0.62 | 6,994 | 9/10/2021 |
| 1.0.61 | 5,073 | 9/9/2021 |
| 1.0.60 | 5,099 | 9/8/2021 |
| 1.0.59 | 5,138 | 9/8/2021 |
| 1.0.58 | 36,466 | 9/6/2021 |
| 1.0.57 | 5,421 | 8/31/2021 |
| 1.0.56 | 5,230 | 8/30/2021 |
| 1.0.55 | 38,579 | 7/31/2021 |
| 1.0.54 | 65,695 | 7/30/2021 |
| 1.0.53 | 5,431 | 7/26/2021 |
| 1.0.52 | 95,466 | 7/5/2021 |
| 1.0.51 | 5,367 | 7/1/2021 |
| 1.0.50 | 68,196 | 6/4/2021 |
| 1.0.49 | 96,715 | 4/26/2021 |
| 1.0.48 | 36,667 | 4/19/2021 |
| 1.0.47 | 155,768 | 4/7/2021 |
| 1.0.46 | 36,001 | 4/3/2021 |
| 1.0.45 | 185,380 | 3/22/2021 |
| 1.0.44 | 118,326 | 3/4/2021 |
| 1.0.43 | 38,496 | 2/26/2021 |
| 1.0.42 | 174,460 | 2/2/2021 |
| 1.0.41 | 124,970 | 1/24/2021 |
| 1.0.40 | 5,366 | 1/23/2021 |
| 1.0.39 | 63,799 | 1/20/2021 |
| 1.0.38 | 5,266 | 1/20/2021 |
| 1.0.37 | 37,634 | 1/18/2021 |
| 1.0.36 | 33,225 | 1/16/2021 |
| 1.0.35 | 124,309 | 12/16/2020 |
| 1.0.34 | 61,226 | 12/14/2020 |
| 1.0.33 | 38,448 | 12/9/2020 |
| 1.0.32 | 8,018 | 12/6/2020 |
| 1.0.31 | 9,846 | 12/2/2020 |
| 1.0.30 | 34,485 | 12/1/2020 |
| 1.0.29 | 198,371 | 11/12/2020 |
| 1.0.29-atestpub | 2,626 | 11/11/2020 |
| 1.0.28 | 35,414 | 10/11/2020 |
| 1.0.27 | 118,151 | 9/9/2020 |
| 1.0.26 | 33,816 | 9/3/2020 |
| 1.0.25 | 34,319 | 8/20/2020 |
| 1.0.24 | 90,236 | 8/9/2020 |
| 1.0.23 | 34,734 | 7/28/2020 |
| 1.0.22 | 34,122 | 7/19/2020 |
| 1.0.21 | 61,105 | 7/6/2020 |
| 1.0.20 | 90,710 | 6/6/2020 |
| 1.0.19 | 35,407 | 6/4/2020 |
| 1.0.18 | 62,495 | 5/29/2020 |
| 1.0.17 | 62,602 | 5/21/2020 |
| 1.0.16 | 6,432 | 5/17/2020 |
| 1.0.15 | 61,153 | 5/12/2020 |
| 1.0.14 | 116,354 | 5/4/2020 |
| 1.0.13 | 10,444 | 4/24/2020 |
| 1.0.12 | 13,937 | 4/22/2020 |
| 1.0.11 | 6,707 | 4/22/2020 |
| 1.0.10 | 6,244 | 4/21/2020 |
| 1.0.9 | 36,023 | 4/18/2020 |
| 1.0.8 | 33,493 | 4/16/2020 |
| 1.0.7 | 6,208 | 4/16/2020 |
| 1.0.6 | 28,525 | 4/15/2020 |
| 1.0.5 | 31,495 | 4/11/2020 |
| 1.0.4 | 30,038 | 4/3/2020 |
| 1.0.3 | 5,540 | 4/1/2020 |
| 1.0.2 | 17,332 | 3/27/2020 |
| 1.0.1 | 16,376 | 3/22/2020 |
| 1.0.0 | 9,343 | 3/22/2020 |
Add missing using directive for StringSyntaxAttribute
Add conditional compilation for netstandard2.0/net6.0 compatibility
Add GeneratedRegex and StringSyntaxAttribute for improved performance and IDE support
Deprecate DoAsync and add comprehensive DelegateHelper tests