CsharpUtilsLib 1.0.6
See the version list below for details.
dotnet add package CsharpUtilsLib --version 1.0.6
NuGet\Install-Package CsharpUtilsLib -Version 1.0.6
<PackageReference Include="CsharpUtilsLib" Version="1.0.6" />
<PackageVersion Include="CsharpUtilsLib" Version="1.0.6" />
<PackageReference Include="CsharpUtilsLib" />
paket add CsharpUtilsLib --version 1.0.6
#r "nuget: CsharpUtilsLib, 1.0.6"
#:package CsharpUtilsLib@1.0.6
#addin nuget:?package=CsharpUtilsLib&version=1.0.6
#tool nuget:?package=CsharpUtilsLib&version=1.0.6
CsharpUtilsLib
Lib with methods to facilitate day-to-day development with C#.
- Brazil
Format Brazilian documents and others things:
- FormatPIS
- FormatCPF
- FormatCNPJ
- FormatPhoneNumber
- FormatCEP
- FormatNCM
- FormatFIPECode
Validate Brazilian documents and ohers things:
- IsValidCNPJ
- IsValidCPF
- IsValidPis
- IsValidVoterIDCard (Título de Eleitor)
- IsValidCep
Others
- BrazilProcessNumber (class)
- Collections
Operations with collections:
- ConcatLists
- GetRandomElement
- BubbleSort
- MostFrequent
- DictionaryIsNullOrEmpty
- ListIsNullOrEmpty
- AddIfNotNull (ICollection, IDictionary)
- AddOrChangeValue
- AddOrChangeValueByIndex
- KeyValueIsNull
- AddRangeIfNotNullOrEmpty
- TryGetValue (IDictionary, Arrays, IList, KeyValuePair)
- ToNullList
- Crypto
Encryption algorithms
- AesCrypto
- Base32
- Date
Operations with date objects:
- GetAllYearDates
- GetLastDayOfWeek
- GetFirstDayOfWeek
- LastDayOfMonth
- GetAge
- IsWeekend
- IsWeekday
- IsBetweenDates
- GetNextWeekday
- GetWeekdayCount
- ConvertToDatetime
- Enums
Operations with enums:
- GetEnumValuesAndNames
- GetEnumValues
- GetDisplayName
- GetEnumName
- GetEnumValue
- External
Operatons with external tools:
- Companies (class)
- FIPE table (class)
- IP (class)
- NCM (class)
- National Brazil Holidays (class)
- Taxs (class)
- CEP (class)
- Country (class)
- GoogleTranslate (class)
- FilesDirectories
Operations with files and/or directories:
- DeleteFile
- DeleteFolder
- IsXML
- IsJson
- IsHTML
- CreateDirectoryIfNotExists
- CreateFileIfNotExists
- CreateLocalFileIfNotExists
- CreateLocalDirectoryIfNotExists
- FileTypeIdentify (class)
- GetDirectorySizeContent
- RenameFile
- ClearDirectoryContent
- CopyDirectoryContent
- CreateTextFileWithContent
- MergeFiles
- HTTP
Operations with http requests:
- HttpWrapper (class)
- Numerics
Operation with numbers:
- GetLongestSequence
- RandomNumbers
- IsInRange
- GetMissingNumbers
- IsNumeric
- GetAverage
- Factorial
- IsEven
- IsOdd
- IsPrime
- StandardDeviation
- Texts
Operation with strings:
- IsSequentialRepetition
- RemoveAllWhitespace
- MultiReplace
- GetMostFrequentSeparator
- CountOcurrences
- RemoveDiacritics
- MatchFirstOcurrency
- MatchListOcurrencies
- RemoveDuplicateWords
- GetUniqueKey
- RemoveDocumentMask
- ToTitleCase
- SpecificSplit
- Count
- OnlyNumbers
- SafeSubstring
- ToByteArray
- ToByteArrayAscii
- ToAscii
- ToUTF8
- Web
Operations involving captures on the internet:
- HtmlString (class)
- CurrentPage and PageMetaData (Pagination classes)
- RandomUserAgent (class)
- Pagination
- ToFormPostData
- ToJsonPostData
- GetQueryStringValue
- GetAllQueryStringValues
- AddQueryString
- IsValidUrl
- GetHeader
- CombineUrl
- ClearHtml
- Global
Generic operations
- IsValidEmail
- IsValidEAN
- IsValidIpAddress
- SystemResources
Monitoring system resources (memory, cpu and time)
- TaskMonitor (class)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. 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. |
-
net7.0
- HtmlAgilityPack (>= 1.11.46)
- Microsoft.AspNetCore.WebUtilities (>= 2.2.0)
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 |
|---|---|---|
| 2.1.0 | 276 | 11/16/2025 |
| 2.0.0 | 269 | 11/16/2025 |
| 1.0.39 | 175 | 10/28/2025 |
| 1.0.38 | 186 | 10/28/2025 |
| 1.0.37 | 177 | 10/28/2025 |
| 1.0.36 | 350 | 11/25/2024 |
| 1.0.35 | 204 | 11/15/2024 |
| 1.0.34 | 166 | 11/15/2024 |
| 1.0.33 | 170 | 11/15/2024 |
| 1.0.32 | 233 | 10/30/2024 |
| 1.0.31 | 170 | 10/30/2024 |
| 1.0.30 | 193 | 7/7/2024 |
| 1.0.29 | 369 | 4/16/2024 |
| 1.0.28 | 190 | 4/15/2024 |
| 1.0.27 | 219 | 4/13/2024 |
| 1.0.26 | 405 | 1/14/2024 |
| 1.0.25 | 241 | 12/23/2023 |
| 1.0.24 | 220 | 12/17/2023 |
| 1.0.23 | 220 | 12/17/2023 |
| 1.0.22 | 224 | 8/29/2023 |
| 1.0.21 | 237 | 6/18/2023 |
| 1.0.20 | 260 | 6/5/2023 |
| 1.0.19 | 244 | 6/3/2023 |
| 1.0.18 | 259 | 5/18/2023 |
| 1.0.17 | 252 | 5/17/2023 |
| 1.0.16 | 306 | 4/9/2023 |
| 1.0.15 | 296 | 4/8/2023 |
| 1.0.14 | 296 | 4/8/2023 |
| 1.0.13 | 316 | 3/30/2023 |
| 1.0.12.1 | 303 | 3/29/2023 |
| 1.0.12 | 303 | 3/29/2023 |
| 1.0.11 | 317 | 3/29/2023 |
| 1.0.10 | 320 | 3/29/2023 |
| 1.0.9 | 325 | 3/28/2023 |
| 1.0.8 | 353 | 3/5/2023 |
| 1.0.7 | 344 | 3/4/2023 |
| 1.0.6 | 346 | 3/1/2023 |
| 1.0.5.1 | 338 | 3/1/2023 |
| 1.0.5 | 364 | 2/28/2023 |
| 1.0.4.1 | 338 | 2/28/2023 |
| 1.0.4 | 333 | 2/28/2023 |
| 1.0.3 | 354 | 2/25/2023 |
| 1.0.2 | 339 | 2/25/2023 |
| 1.0.1 | 359 | 2/15/2023 |
| 1.0.0 | 490 | 2/13/2023 |