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.
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.
// Install CSharpLib as a Cake Addin
#addin nuget:?package=CSharpLib&version=3.0.1

// Install CSharpLib as a Cake Tool
#tool nuget:?package=CSharpLib&version=3.0.1

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 3,531 12/28/2021
3.0.1 6,119 6/7/2020
3.0.0 2,366 3/28/2020
2.5.8 603 11/11/2019
2.5.6 573 7/6/2019
2.4.5 884 4/26/2019
2.3.5 572 4/12/2019
1.3.5 610 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.