{"id":18517755,"url":"https://github.com/oguzhankomcu/csharp__fundamentals","last_synced_at":"2026-03-10T04:33:58.514Z","repository":{"id":110309352,"uuid":"448004931","full_name":"oguzhanKomcu/CSharp__Fundamentals","owner":"oguzhanKomcu","description":"I share my work on C#.","archived":false,"fork":false,"pushed_at":"2022-03-10T14:36:54.000Z","size":163,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T01:50:44.798Z","etag":null,"topics":["charp","charp-opencv","csharp-code","destop-a","for","foreach-loop","forloops","functions","if-else","ifelse","software-development","switchcase"],"latest_commit_sha":null,"homepage":"","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/oguzhanKomcu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2022-01-14T14:56:41.000Z","updated_at":"2024-12-10T18:03:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"beb24e1c-4b8a-461c-821e-deb81c5bb621","html_url":"https://github.com/oguzhanKomcu/CSharp__Fundamentals","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oguzhanKomcu/CSharp__Fundamentals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguzhanKomcu%2FCSharp__Fundamentals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguzhanKomcu%2FCSharp__Fundamentals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguzhanKomcu%2FCSharp__Fundamentals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguzhanKomcu%2FCSharp__Fundamentals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oguzhanKomcu","download_url":"https://codeload.github.com/oguzhanKomcu/CSharp__Fundamentals/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguzhanKomcu%2FCSharp__Fundamentals/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30324448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["charp","charp-opencv","csharp-code","destop-a","for","foreach-loop","forloops","functions","if-else","ifelse","software-development","switchcase"],"created_at":"2024-11-06T17:08:36.480Z","updated_at":"2026-03-10T04:33:58.503Z","avatar_url":"https://github.com/oguzhanKomcu.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSharp__Fundamentals\n\n\u003cimg src=\"https://miro.medium.com/max/1400/1*uhSX5djhrWiguXoWsW_lEw.png\" width=\"600\" height=\"270\"\u003e\n\n## C# INTROCTION\nI made 3 desktop applications with C# first start topics.\n\nYou can check this page [GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/tree/master/01.Introduction).\n\n## C# iF - ELSE\nIf else codes are decision-making structures in C# software. The flow of the program is determined by if else. If else controls are used if transactions are to be made depending on a certain condition. Here, the condition is specified in the if statement, if the condition is true, the commands inside the if code block are executed. If the condition is not true, the commands in the else code block are executed. In cases where there is more than one condition, nested if else structures are used. I made 2 desktop applications related to this.\n\nYou can check this page [GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/blob/master/02_iF_ELse/Form1.cs).\n\n## SWİTCH-CASE\nIn multi-state branching statements, switch-case structure is preferably used instead of if-else blocks. It is used when equality is desired.The value to be checked is placed in the case blocks. It is closed with a break.\n\nYou can check this page [GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/blob/master/03_SwiTch_CaSe/Form1.cs).\n\n## FOR LOOP\nOne of the most basic building blocks of programming is loops. It allows us to write less and more functional coding that will be written over and over.Loops are used in programming to repeatedly execute a certain block of statements until some condition is met.The for loop is also a type of loop that we use most in loops.\n\nYou can check this page [GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/blob/master/04_FoR_CYCLE/Form1.cs)\n\n## FOREACH LOOP\nForeach is a loop that goes through the elements of array and collection-based objects, you can iterate through these elements and create your business layer. You can see my work on this loop type.\n\nYou can check this page [GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/blob/master/ForeacH_Examples/Form1.cs)\n\n## CUSTOM FUNCTİONS\nUsing functions in C# allows you to repeatedly run the code block you have created anywhere in the program. The function you created can be used both in the project and out of the project, one or more times, privately or openly. In this way, we will not repeat the same codes by using a function, and we will alleviate our work by correcting it in one place when it needs to be corrected. You can look at the sample special function I made.\n\nYou can check this page [GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/blob/master/Custom_Functions/Form1.cs)\n\n## VOİDS METHODS\nMethods defined as void do not return a value. It is one of the most frequently used methods by developers. The void method takes parameters like any other method. It is used when there is no need to take a value.\n\n### OVERLOAD\nWe can create more than one method with the same name, but we cannot process the same parameters to overloaded methods.\n\n### OUT\nOut is used when it returns multiple values.\n\nYou can check this page[GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/blob/master/VOID_METHODS1/Form1.cs)\n\n## TRY - CATCH\nIt is a structure that prevents errors in the code blocks we have written. In fact, the prevention of errors is not meant to prevent the error, but to prevent the related program from giving an error to the end user. When the user receives an error, he can directly convey the error to us via e-mail.\n\nYou can check this page[GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/blob/master/Try_Catch1/Form1.cs)\n\n## MY PROJECT\n\nMy sample bus ticket project[GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/tree/master/Bus_Ticket_Project)\n\nMy sample ATM project[GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/tree/master/ATM_PROJECT)\n\nMy sample dice game project[GitHub Pages](https://github.com/oguzhanKomcu/CSharp__Fundamentals/tree/master/Dice_Game_Project)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foguzhankomcu%2Fcsharp__fundamentals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foguzhankomcu%2Fcsharp__fundamentals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foguzhankomcu%2Fcsharp__fundamentals/lists"}