Ecng.Common 1.0.203

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ecng.Common --version 1.0.203
                    
NuGet\Install-Package Ecng.Common -Version 1.0.203
                    
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.203" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ecng.Common" Version="1.0.203" />
                    
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.203
                    
#r "nuget: Ecng.Common, 1.0.203"
                    
#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.203
                    
#: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.203
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Common&version=1.0.203
                    
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 (10)

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.204 1,066 9/25/2025
1.0.203 5,229 8/30/2025
1.0.202 7,846 7/13/2025
1.0.201 862 7/13/2025
1.0.200 876 7/12/2025
1.0.199 2,036 7/8/2025
1.0.198 6,798 6/16/2025
1.0.197 1,090 6/9/2025
1.0.196 976 6/8/2025
1.0.195 2,265 5/21/2025
1.0.194 1,047 5/17/2025
1.0.193 2,325 5/12/2025
1.0.192 998 5/12/2025
1.0.191 3,072 4/17/2025
1.0.190 6,298 3/20/2025
1.0.189 909 3/19/2025
1.0.188 4,917 2/26/2025
1.0.187 1,038 2/26/2025
1.0.186 8,104 2/5/2025
1.0.185 4,188 1/21/2025
1.0.184 3,632 1/14/2025
1.0.183 2,602 1/12/2025
1.0.182 1,449 1/10/2025
1.0.181 8,901 11/18/2024
1.0.180 2,554 11/7/2024
1.0.179 2,006 10/19/2024
1.0.178 6,606 10/5/2024
1.0.177 4,954 9/18/2024
1.0.176 1,082 9/17/2024
1.0.175 5,434 9/1/2024
1.0.174 13,192 6/12/2024
1.0.173 3,476 5/28/2024
1.0.172 4,110 5/4/2024
1.0.171 5,342 4/14/2024
1.0.170 5,927 3/28/2024
1.0.169 1,359 3/17/2024
1.0.168 4,265 2/23/2024
1.0.167 1,338 2/23/2024
1.0.166 5,037 2/18/2024
1.0.165 1,411 2/16/2024
1.0.164 3,302 2/13/2024
1.0.163 3,124 2/8/2024
1.0.162 4,219 2/4/2024
1.0.161 3,739 1/23/2024
1.0.160 3,984 1/12/2024
1.0.159 6,024 1/2/2024
1.0.158 1,683 12/29/2023
1.0.157 17,920 11/12/2023
1.0.156 2,062 11/10/2023
1.0.155 1,615 11/10/2023
1.0.154 1,839 11/9/2023
1.0.153 2,512 11/3/2023
1.0.152 1,697 11/1/2023
1.0.151 1,700 11/1/2023
1.0.150 27,691 9/8/2023
1.0.149 2,173 9/8/2023
1.0.148 2,401 9/3/2023
1.0.147 2,605 8/21/2023
1.0.146 2,930 8/14/2023
1.0.145 3,107 8/10/2023
1.0.144 41,879 6/29/2023
1.0.143 16,865 5/27/2023
1.0.142 4,471 5/19/2023
1.0.141 27,413 5/8/2023
1.0.140 7,836 4/21/2023
1.0.139 53,272 4/3/2023
1.0.138 10,790 3/13/2023
1.0.137 22,222 3/6/2023
1.0.136 5,085 2/26/2023
1.0.135 61,214 2/9/2023
1.0.134 20,524 2/7/2023
1.0.133 4,975 2/4/2023
1.0.132 24,772 2/2/2023
1.0.131 21,191 1/30/2023
1.0.130 10,166 1/18/2023
1.0.129 50,435 12/30/2022
1.0.128 7,351 12/23/2022
1.0.127 25,393 12/12/2022
1.0.126 28,169 12/4/2022
1.0.125 5,697 12/4/2022
1.0.124 6,465 11/30/2022
1.0.123 9,699 11/28/2022
1.0.122 10,074 11/18/2022
1.0.121 33,080 11/11/2022
1.0.120 6,135 11/11/2022
1.0.119 6,081 11/10/2022
1.0.118 6,741 11/5/2022
1.0.117 7,903 11/4/2022
1.0.116 30,075 11/1/2022
1.0.115 35,544 10/16/2022
1.0.114 14,507 9/10/2022
1.0.113 57,514 9/8/2022
1.0.112 7,382 9/8/2022
1.0.111 7,427 9/8/2022
1.0.110 9,753 9/4/2022
1.0.109 97,192 8/24/2022
1.0.108 16,936 8/8/2022
1.0.107 10,427 7/26/2022
1.0.106 7,415 7/26/2022
1.0.105 59,636 7/19/2022
1.0.104 52,557 7/18/2022
1.0.103 13,332 7/8/2022
1.0.102 11,878 6/18/2022
1.0.101 7,548 6/6/2022
1.0.100 102,944 4/30/2022
1.0.99 7,450 4/20/2022
1.0.98 7,580 4/10/2022
1.0.97 7,466 4/7/2022
1.0.96 7,563 4/7/2022
1.0.95 7,613 4/2/2022
1.0.94 18,791 3/29/2022
1.0.93 10,341 3/27/2022
1.0.92 294,028 1/24/2022
1.0.91 166,377 12/29/2021
1.0.90 32,949 12/20/2021
1.0.89 6,406 12/13/2021
1.0.88 62,772 12/6/2021
1.0.87 7,880 12/2/2021
1.0.86 33,711 11/29/2021
1.0.85 32,506 11/22/2021
1.0.84 4,568 11/17/2021
1.0.83 34,374 11/13/2021
1.0.82 7,876 11/10/2021
1.0.81 4,824 11/9/2021
1.0.80 67,162 11/5/2021
1.0.79 6,638 11/4/2021
1.0.78 4,704 11/4/2021
1.0.77 4,609 11/3/2021
1.0.76 4,993 10/30/2021
1.0.75 36,214 10/21/2021
1.0.74 5,460 10/17/2021
1.0.73 66,062 10/14/2021
1.0.72 15,924 10/13/2021
1.0.71 4,968 10/12/2021
1.0.70 36,451 10/11/2021
1.0.69 4,887 10/9/2021
1.0.68 39,802 10/7/2021
1.0.67 41,785 10/7/2021
1.0.66 4,882 10/7/2021
1.0.65 4,886 10/6/2021
1.0.64 4,750 9/28/2021
1.0.63 38,420 9/23/2021
1.0.62 6,388 9/10/2021
1.0.61 4,542 9/9/2021
1.0.60 4,601 9/8/2021
1.0.59 4,616 9/8/2021
1.0.58 35,568 9/6/2021
1.0.57 4,914 8/31/2021
1.0.56 4,711 8/30/2021
1.0.55 37,751 7/31/2021
1.0.54 64,210 7/30/2021
1.0.53 4,899 7/26/2021
1.0.52 93,652 7/5/2021
1.0.51 4,846 7/1/2021
1.0.50 67,067 6/4/2021
1.0.49 95,325 4/26/2021
1.0.48 35,469 4/19/2021
1.0.47 153,799 4/7/2021
1.0.46 34,764 4/3/2021
1.0.45 183,064 3/22/2021
1.0.44 116,564 3/4/2021
1.0.43 37,568 2/26/2021
1.0.42 171,722 2/2/2021
1.0.41 122,702 1/24/2021
1.0.40 4,863 1/23/2021
1.0.39 62,740 1/20/2021
1.0.38 4,734 1/20/2021
1.0.37 36,728 1/18/2021
1.0.36 32,048 1/16/2021
1.0.35 122,425 12/16/2020
1.0.34 59,620 12/14/2020
1.0.33 37,119 12/9/2020
1.0.32 7,017 12/6/2020
1.0.31 8,818 12/2/2020
1.0.30 33,242 12/1/2020
1.0.29 195,494 11/12/2020
1.0.29-atestpub 2,437 11/11/2020
1.0.28 34,608 10/11/2020
1.0.27 116,537 9/9/2020
1.0.26 33,008 9/3/2020
1.0.25 33,562 8/20/2020
1.0.24 89,002 8/9/2020
1.0.23 33,923 7/28/2020
1.0.22 32,925 7/19/2020
1.0.21 60,066 7/6/2020
1.0.20 89,457 6/6/2020
1.0.19 34,249 6/4/2020
1.0.18 61,468 5/29/2020
1.0.17 61,197 5/21/2020
1.0.16 5,926 5/17/2020
1.0.15 60,277 5/12/2020
1.0.14 114,888 5/4/2020
1.0.13 9,844 4/24/2020
1.0.12 12,882 4/22/2020
1.0.11 5,783 4/22/2020
1.0.10 5,719 4/21/2020
1.0.9 34,831 4/18/2020
1.0.8 32,760 4/16/2020
1.0.7 5,690 4/16/2020
1.0.6 27,843 4/15/2020
1.0.5 30,763 4/11/2020
1.0.4 29,289 4/3/2020
1.0.3 5,055 4/1/2020
1.0.2 16,220 3/27/2020
1.0.1 15,212 3/22/2020
1.0.0 8,133 3/22/2020

FastDateTimeParser fixes.
IOHelper. Fix AddRelative
TryGetUniqueMutex fix dispose.
RandomGen fixes.
RandomGen. Uses local thread impls.