Ecng.Common
1.0.204
dotnet add package Ecng.Common --version 1.0.204
NuGet\Install-Package Ecng.Common -Version 1.0.204
<PackageReference Include="Ecng.Common" Version="1.0.204" />
<PackageVersion Include="Ecng.Common" Version="1.0.204" />
<PackageReference Include="Ecng.Common" />
paket add Ecng.Common --version 1.0.204
#r "nuget: Ecng.Common, 1.0.204"
#:package Ecng.Common@1.0.204
#addin nuget:?package=Ecng.Common&version=1.0.204
#tool nuget:?package=Ecng.Common&version=1.0.204
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 (10)
Showing the top 5 NuGet packages that depend on Ecng.Common:
Package | Downloads |
---|---|
Ecng.Collections
Ecng system framework |
|
Ecng.Configuration
Ecng system framework |
|
Ecng.Localization
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.204 | 239 | 9/25/2025 |
1.0.203 | 4,836 | 8/30/2025 |
1.0.202 | 7,305 | 7/13/2025 |
1.0.201 | 775 | 7/13/2025 |
1.0.200 | 794 | 7/12/2025 |
1.0.199 | 1,919 | 7/8/2025 |
1.0.198 | 6,332 | 6/16/2025 |
1.0.197 | 1,015 | 6/9/2025 |
1.0.196 | 897 | 6/8/2025 |
1.0.195 | 2,080 | 5/21/2025 |
1.0.194 | 939 | 5/17/2025 |
1.0.193 | 2,145 | 5/12/2025 |
1.0.192 | 903 | 5/12/2025 |
1.0.191 | 2,798 | 4/17/2025 |
1.0.190 | 5,850 | 3/20/2025 |
1.0.189 | 843 | 3/19/2025 |
1.0.188 | 4,623 | 2/26/2025 |
1.0.187 | 948 | 2/26/2025 |
1.0.186 | 7,579 | 2/5/2025 |
1.0.185 | 3,922 | 1/21/2025 |
1.0.184 | 3,405 | 1/14/2025 |
1.0.183 | 2,328 | 1/12/2025 |
1.0.182 | 1,260 | 1/10/2025 |
1.0.181 | 8,546 | 11/18/2024 |
1.0.180 | 2,413 | 11/7/2024 |
1.0.179 | 1,898 | 10/19/2024 |
1.0.178 | 6,358 | 10/5/2024 |
1.0.177 | 4,767 | 9/18/2024 |
1.0.176 | 1,041 | 9/17/2024 |
1.0.175 | 5,236 | 9/1/2024 |
1.0.174 | 12,664 | 6/12/2024 |
1.0.173 | 3,357 | 5/28/2024 |
1.0.172 | 3,961 | 5/4/2024 |
1.0.171 | 5,178 | 4/14/2024 |
1.0.170 | 5,781 | 3/28/2024 |
1.0.169 | 1,318 | 3/17/2024 |
1.0.168 | 4,168 | 2/23/2024 |
1.0.167 | 1,288 | 2/23/2024 |
1.0.166 | 4,886 | 2/18/2024 |
1.0.165 | 1,344 | 2/16/2024 |
1.0.164 | 3,184 | 2/13/2024 |
1.0.163 | 3,013 | 2/8/2024 |
1.0.162 | 4,066 | 2/4/2024 |
1.0.161 | 3,631 | 1/23/2024 |
1.0.160 | 3,876 | 1/12/2024 |
1.0.159 | 5,874 | 1/2/2024 |
1.0.158 | 1,642 | 12/29/2023 |
1.0.157 | 17,591 | 11/12/2023 |
1.0.156 | 1,990 | 11/10/2023 |
1.0.155 | 1,563 | 11/10/2023 |
1.0.154 | 1,791 | 11/9/2023 |
1.0.153 | 2,462 | 11/3/2023 |
1.0.152 | 1,660 | 11/1/2023 |
1.0.151 | 1,642 | 11/1/2023 |
1.0.150 | 27,437 | 9/8/2023 |
1.0.149 | 2,097 | 9/8/2023 |
1.0.148 | 2,332 | 9/3/2023 |
1.0.147 | 2,526 | 8/21/2023 |
1.0.146 | 2,881 | 8/14/2023 |
1.0.145 | 3,036 | 8/10/2023 |
1.0.144 | 41,613 | 6/29/2023 |
1.0.143 | 16,739 | 5/27/2023 |
1.0.142 | 4,382 | 5/19/2023 |
1.0.141 | 27,281 | 5/8/2023 |
1.0.140 | 7,770 | 4/21/2023 |
1.0.139 | 52,975 | 4/3/2023 |
1.0.138 | 10,704 | 3/13/2023 |
1.0.137 | 22,112 | 3/6/2023 |
1.0.136 | 5,046 | 2/26/2023 |
1.0.135 | 60,842 | 2/9/2023 |
1.0.134 | 20,419 | 2/7/2023 |
1.0.133 | 4,907 | 2/4/2023 |
1.0.132 | 24,631 | 2/2/2023 |
1.0.131 | 21,070 | 1/30/2023 |
1.0.130 | 10,095 | 1/18/2023 |
1.0.129 | 50,214 | 12/30/2022 |
1.0.128 | 7,285 | 12/23/2022 |
1.0.127 | 25,199 | 12/12/2022 |
1.0.126 | 27,984 | 12/4/2022 |
1.0.125 | 5,619 | 12/4/2022 |
1.0.124 | 6,404 | 11/30/2022 |
1.0.123 | 9,609 | 11/28/2022 |
1.0.122 | 10,033 | 11/18/2022 |
1.0.121 | 32,928 | 11/11/2022 |
1.0.120 | 6,076 | 11/11/2022 |
1.0.119 | 6,025 | 11/10/2022 |
1.0.118 | 6,688 | 11/5/2022 |
1.0.117 | 7,830 | 11/4/2022 |
1.0.116 | 29,916 | 11/1/2022 |
1.0.115 | 35,397 | 10/16/2022 |
1.0.114 | 14,401 | 9/10/2022 |
1.0.113 | 57,308 | 9/8/2022 |
1.0.112 | 7,315 | 9/8/2022 |
1.0.111 | 7,388 | 9/8/2022 |
1.0.110 | 9,676 | 9/4/2022 |
1.0.109 | 96,902 | 8/24/2022 |
1.0.108 | 16,830 | 8/8/2022 |
1.0.107 | 10,378 | 7/26/2022 |
1.0.106 | 7,384 | 7/26/2022 |
1.0.105 | 59,388 | 7/19/2022 |
1.0.104 | 52,354 | 7/18/2022 |
1.0.103 | 13,235 | 7/8/2022 |
1.0.102 | 11,819 | 6/18/2022 |
1.0.101 | 7,507 | 6/6/2022 |
1.0.100 | 102,639 | 4/30/2022 |
1.0.99 | 7,418 | 4/20/2022 |
1.0.98 | 7,549 | 4/10/2022 |
1.0.97 | 7,433 | 4/7/2022 |
1.0.96 | 7,503 | 4/7/2022 |
1.0.95 | 7,560 | 4/2/2022 |
1.0.94 | 18,721 | 3/29/2022 |
1.0.93 | 10,299 | 3/27/2022 |
1.0.92 | 293,027 | 1/24/2022 |
1.0.91 | 165,743 | 12/29/2021 |
1.0.90 | 32,776 | 12/20/2021 |
1.0.89 | 6,365 | 12/13/2021 |
1.0.88 | 62,461 | 12/6/2021 |
1.0.87 | 7,820 | 12/2/2021 |
1.0.86 | 33,530 | 11/29/2021 |
1.0.85 | 32,320 | 11/22/2021 |
1.0.84 | 4,539 | 11/17/2021 |
1.0.83 | 34,211 | 11/13/2021 |
1.0.82 | 7,825 | 11/10/2021 |
1.0.81 | 4,772 | 11/9/2021 |
1.0.80 | 66,822 | 11/5/2021 |
1.0.79 | 6,577 | 11/4/2021 |
1.0.78 | 4,664 | 11/4/2021 |
1.0.77 | 4,567 | 11/3/2021 |
1.0.76 | 4,951 | 10/30/2021 |
1.0.75 | 35,978 | 10/21/2021 |
1.0.74 | 5,414 | 10/17/2021 |
1.0.73 | 65,757 | 10/14/2021 |
1.0.72 | 15,847 | 10/13/2021 |
1.0.71 | 4,899 | 10/12/2021 |
1.0.70 | 36,254 | 10/11/2021 |
1.0.69 | 4,857 | 10/9/2021 |
1.0.68 | 39,665 | 10/7/2021 |
1.0.67 | 41,603 | 10/7/2021 |
1.0.66 | 4,835 | 10/7/2021 |
1.0.65 | 4,854 | 10/6/2021 |
1.0.64 | 4,709 | 9/28/2021 |
1.0.63 | 38,232 | 9/23/2021 |
1.0.62 | 6,323 | 9/10/2021 |
1.0.61 | 4,500 | 9/9/2021 |
1.0.60 | 4,557 | 9/8/2021 |
1.0.59 | 4,566 | 9/8/2021 |
1.0.58 | 35,418 | 9/6/2021 |
1.0.57 | 4,868 | 8/31/2021 |
1.0.56 | 4,660 | 8/30/2021 |
1.0.55 | 37,597 | 7/31/2021 |
1.0.54 | 63,886 | 7/30/2021 |
1.0.53 | 4,858 | 7/26/2021 |
1.0.52 | 93,241 | 7/5/2021 |
1.0.51 | 4,784 | 7/1/2021 |
1.0.50 | 66,837 | 6/4/2021 |
1.0.49 | 94,939 | 4/26/2021 |
1.0.48 | 35,331 | 4/19/2021 |
1.0.47 | 153,240 | 4/7/2021 |
1.0.46 | 34,628 | 4/3/2021 |
1.0.45 | 182,349 | 3/22/2021 |
1.0.44 | 116,120 | 3/4/2021 |
1.0.43 | 37,378 | 2/26/2021 |
1.0.42 | 171,079 | 2/2/2021 |
1.0.41 | 122,162 | 1/24/2021 |
1.0.40 | 4,824 | 1/23/2021 |
1.0.39 | 62,448 | 1/20/2021 |
1.0.38 | 4,702 | 1/20/2021 |
1.0.37 | 36,565 | 1/18/2021 |
1.0.36 | 31,928 | 1/16/2021 |
1.0.35 | 121,846 | 12/16/2020 |
1.0.34 | 59,342 | 12/14/2020 |
1.0.33 | 36,907 | 12/9/2020 |
1.0.32 | 6,956 | 12/6/2020 |
1.0.31 | 8,727 | 12/2/2020 |
1.0.30 | 33,055 | 12/1/2020 |
1.0.29 | 194,537 | 11/12/2020 |
1.0.29-atestpub | 2,408 | 11/11/2020 |
1.0.28 | 34,464 | 10/11/2020 |
1.0.27 | 116,032 | 9/9/2020 |
1.0.26 | 32,873 | 9/3/2020 |
1.0.25 | 33,413 | 8/20/2020 |
1.0.24 | 88,563 | 8/9/2020 |
1.0.23 | 33,762 | 7/28/2020 |
1.0.22 | 32,792 | 7/19/2020 |
1.0.21 | 59,834 | 7/6/2020 |
1.0.20 | 89,105 | 6/6/2020 |
1.0.19 | 34,085 | 6/4/2020 |
1.0.18 | 61,264 | 5/29/2020 |
1.0.17 | 60,958 | 5/21/2020 |
1.0.16 | 5,887 | 5/17/2020 |
1.0.15 | 60,027 | 5/12/2020 |
1.0.14 | 114,412 | 5/4/2020 |
1.0.13 | 9,776 | 4/24/2020 |
1.0.12 | 12,810 | 4/22/2020 |
1.0.11 | 5,739 | 4/22/2020 |
1.0.10 | 5,685 | 4/21/2020 |
1.0.9 | 34,702 | 4/18/2020 |
1.0.8 | 32,668 | 4/16/2020 |
1.0.7 | 5,637 | 4/16/2020 |
1.0.6 | 27,738 | 4/15/2020 |
1.0.5 | 30,591 | 4/11/2020 |
1.0.4 | 29,147 | 4/3/2020 |
1.0.3 | 5,016 | 4/1/2020 |
1.0.2 | 16,044 | 3/27/2020 |
1.0.1 | 15,041 | 3/22/2020 |
1.0.0 | 8,072 | 3/22/2020 |