{"id":20226741,"url":"https://github.com/kailuser/y-sharp","last_synced_at":"2026-05-11T17:38:00.426Z","repository":{"id":150907734,"uuid":"606365960","full_name":"KailUser/Y-Sharp","owner":"KailUser","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-25T16:43:07.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T13:56:03.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KailUser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-25T09:11:54.000Z","updated_at":"2023-02-25T09:12:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"86d81893-e629-45b7-8031-ced30e249da0","html_url":"https://github.com/KailUser/Y-Sharp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KailUser/Y-Sharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KailUser%2FY-Sharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KailUser%2FY-Sharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KailUser%2FY-Sharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KailUser%2FY-Sharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KailUser","download_url":"https://codeload.github.com/KailUser/Y-Sharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KailUser%2FY-Sharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32906504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"ssl_error","status_checked_at":"2026-05-11T17:08:45.420Z","response_time":120,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T07:19:55.752Z","updated_at":"2026-05-11T17:38:00.408Z","avatar_url":"https://github.com/KailUser.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# YSHARP Library\n\nYSHARP is a simple library for C# that provides some basic functions for console input/output, thread management, and math operations.\n\n\n## Usage\n\nTo use the YSHARP library in your C# project, follow these steps:\n\n    Add the YSHARP.cs file to your project.\n    Import the YSHARP namespace in your code: using YSHARP;\n    Use the available functions as needed. The following functions are currently available:\n## YSHARP.Print(string message)\n\nPrints a message to the console.\n\n```csharp\nYSHARP.Print(\"Hello, world!\");\n```\n## YSHARP.Round(double value, int digits)\n\nRounds a double value to the specified number of decimal digits.\n```csharp\ndouble result = YSHARP.Round(3.14159, 2); // result is 3.14\n```\n## YSHARP.Range(int start, int end)\n\nGenerates an array of integers from a start value (inclusive) to an end value (exclusive).\n\n```csharp\nint[] numbers = YSHARP.Range(1, 5); // numbers is {1, 2, 3, 4}\n```\n## YSHARP.Clear()\n\nClears the console screen.\n\n```csharp\nYSHARP.Clear();\n```\n## YSHARP.GetUserInput(string prompt)\n\nPrompts the user for input and returns the input as a string.\n\n```csharp\nstring name = YSHARP.GetUserInput(\"Enter your name: \");\n```\n## YSHARP.Wait(int milliseconds)\n\nPauses the program execution for the specified number of milliseconds.\n\n```csharp\nYSHARP.Wait(1000); // wait for 1 second\n```\n## YSHARP.ToInt(string value)\nConverts a string value to an integer. If the string is not a valid integer, an error message is printed to the console and 0 is returned.\n\n```csharp\nint number = YSHARP.ToInt(\"42\"); // number is 42\n```\n## YSHARP.ToString(int value)\n\nConverts an integer value to a string.\n\n```csharp\nint number = 42;\nstring numberString = YSHARP.ToString(number); // numberString is \"42\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkailuser%2Fy-sharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkailuser%2Fy-sharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkailuser%2Fy-sharp/lists"}