{"id":18750120,"url":"https://github.com/mindfiredigital/extension-methods","last_synced_at":"2025-07-22T21:02:56.954Z","repository":{"id":40909262,"uuid":"207524028","full_name":"mindfiredigital/extension-methods","owner":"mindfiredigital","description":"\"Extension.Methods\" is a C# library built on top of .Net Standard 2.0. This library contains most of the extension methods that you would use in everyday life. We are committed to adding new methods.","archived":false,"fork":false,"pushed_at":"2022-12-07T22:59:32.000Z","size":172,"stargazers_count":12,"open_issues_count":5,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T22:03:53.856Z","etag":null,"topics":["csharp","csharp-library","extension-methods"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mindfiredigital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-10T09:56:27.000Z","updated_at":"2025-04-26T09:07:53.000Z","dependencies_parsed_at":"2023-01-24T23:45:10.110Z","dependency_job_id":null,"html_url":"https://github.com/mindfiredigital/extension-methods","commit_stats":null,"previous_names":["ssswagatss/extension-methods"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mindfiredigital/extension-methods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Fextension-methods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Fextension-methods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Fextension-methods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Fextension-methods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mindfiredigital","download_url":"https://codeload.github.com/mindfiredigital/extension-methods/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Fextension-methods/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266572291,"owners_count":23949992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","csharp-library","extension-methods"],"created_at":"2024-11-07T17:10:21.738Z","updated_at":"2025-07-22T21:02:56.922Z","avatar_url":"https://github.com/mindfiredigital.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extension.Methods\n\n**Extension.Methods** is a C# library built on top of .Net Standard 2.0. This library contains most of the extension methods that you would use in everyday life. We are committed to adding new methods.\n\nThe reason why we started this project is very simple. Mostly to automate a redundant process. Each time we used to start a new project, we had to copy and paste these lines of codes to our project. Though most of the extension methods are available in the internet, they are not present under a single library. So we added everything to one place and created a package out of it. Adding this package to your existing/new project is as easy as adding any other NuGet package.\n\n## Installation\n\nThe library is hosted on NuGet. You can install the same to your project using both Package Manager and .Net CLI. \n\nInstalling **Extension.Methods** using [NuGet Package Manager Console](https://www.nuget.org/) \n\n    PM\u003eInstall-Package Extension.Methods\n\nInstalling **Extension.Methods** using [.Net CLI](https://dotnet.microsoft.com/download)\n\n    \u003edotnet add package Extension.Methods\n\nThis will install the packages and its dependencies to your project and you can start using the methods just by importing the **Extension.Methods** namespace. \n\n## Example\n\n```csharp\n    using System;\n    using System.Collections.Generic;\n    using Extension.Methods; // This is important\n    \n    namespace YourProject.TestApp\n    {\n        class Program\n        {\n            static void Main(string[] args)\n            {\n                var l = new List\u003cint\u003e() { 1, 2, 4, 8, 5, 3 };\n                l.Sort();\n                l.InsertSorted(0); // You can use all the available extension methods like this.\n                Console.ReadKey();\n            }\n        }\n    }\n```\n    \n\n## API References\n\nThe project contains extension methods for the followings. \n\n- [StringExtensions](https://github.com/ssswagatss/extension-methods/blob/development/Docs/StringExtensionDocs.md)\n- [NumberExtensions](https://github.com/ssswagatss/extension-methods/blob/development/Docs/NumberExtensionsDocs.md)\n- [DateTimeExtensions](https://github.com/ssswagatss/extension-methods/blob/development/Docs/DateTimeExtensionsDocs.md)\n- [EnumExtensions](https://github.com/ssswagatss/extension-methods/blob/development/Docs/EnumExtensionsDocs.md)\n- [JsonExtensions](https://github.com/ssswagatss/extension-methods/blob/development/Docs/JsonExtensionsDocs.md)\n- [GenericExtensions](https://github.com/ssswagatss/extension-methods/blob/development/Docs/GenericExtensionsDocs.md)\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\nPlease make sure to update tests as appropriate.\n\n## Feedback\nAny feedback or issues can be added to the [issues](https://github.com/ssswagatss/extension-methods/issues) for this project in GitHub.\n\n## License\nCopyright (c) Swagat Swain. All rights reserved.\n\nLicensed under the [MIT](https://choosealicense.com/licenses/mit/) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindfiredigital%2Fextension-methods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindfiredigital%2Fextension-methods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindfiredigital%2Fextension-methods/lists"}