Z.ExtensionMethods
Z.ExtensionMethods copied to clipboard
C# Extension Methods | Over 1000 extension methods:
Here is what to include in your request to make sure we implement a solution as quickly as possible. ## 1. Description On the page [String - PathCombine](https://csharp-extension.com/en/method/1002135/string-pathcombine), the example...
I've added some small string functions and also I've made small name changes. I thought it would be better to use the plural but of course you may not want...
Shouldn't IsNumeric() return true for "-1"? I mean -1 is really a number so why does IsNumeric() only return true for 0 & positive numbers?
The `WebClient` class defines `DownloadFileTaskAsync` as: ``` public Task DownloadFileTaskAsync(string address, string fileName); ``` Which is nice but it does not return a reference to the file that was downloaded....
This issue is a proposal to add `SplitOnChunkSize()` to FileInfo that would split a file into multiple files and return an array of the newly created files. The challenge with...
I was unable to get `ExtractGZipToDirectory()` working. It just created an empty file when I tried to decompress it. I ended up creating this method which did work: ``` private...
### Description This is the same as #29 but for the GetSigniature extension method. ```csharp class A { class B { class C { } } } typeof(A.B.C).GetSigniature(); typeof(A.B.C).GetSigniature(); ```...
## Description Just FYI your "Type.GetDeclaration()" extension fails for nested generic types. Example: ```csharp class A { class B { class C { } } } typeof(A.B.C).GetDeclaration(); ``` It currently...
Made a slight update to the Regex Pattern to conform more to the rules of [RFC 5322](https://tools.ietf.org/html/rfc5322) which obsoletes [RFC 2822](https://tools.ietf.org/html/rfc2822). I ended up updating the regex pattern because the...
String extension method .IsValidEmail() is incorrectly reporting e-mails such as [email protected] as invalid. This is a valid RFC e-mail address, and one recommended by Google to alias existing inboxes.