CSharpLib 3.0.1

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

In version 3.0.1, it is now possible to:

  • Split and trim strings with strings
  • Check if a file or directory is empty
  • Check whether an application (by name) is installed on a the local or remote machine.

Added in version 3.0.1:

  • Method CSharpLib.Windows.Win32.IsInstalled()
  • Extension method CSharpLib.Files.IsEmpty(this FileInfo file)
  • Extension method CSharpLib.Directories.IsEmpty(this DirectoryInfo info)
  • Extension method CSharpLib.Strings.TrimEnd(this string target)
  • Extension method CSharpLib.Strings.TrimStart(this string target)
  • Extension method CSharpLib.Strings.Split() (+2 overloads)
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0 4,611 12/28/2021
3.0.1 7,528 6/7/2020
3.0.0 2,662 3/28/2020
2.5.8 816 11/11/2019
2.5.6 809 7/6/2019
2.4.5 1,134 4/26/2019
2.3.5 812 4/12/2019
1.3.5 816 4/6/2019

Added a few more extensions for strings, added the ability to check whether a file is empty, and added ability to check if an application is installed by name.