{"id":13594791,"url":"https://github.com/tigranv/Useful_Examples_C-Sharp","last_synced_at":"2025-04-09T10:31:59.517Z","repository":{"id":82824614,"uuid":"78672233","full_name":"tigranv/Useful_Examples_C-Sharp","owner":"tigranv","description":"In this repository, I gathered a lot of useful examples of code and their description that I create while studying programming. Here you can find examples on the use of the Inheritance, Encapsulation, Abstraction, Interfacies, Polymorphism, Indexers,  Operators Overloading, Extention Methods, System IO , Exception Handling, Delegates, Events, IDisposable, IClonable, GC, IEnumerable, IEnumerator Interfaces, Yield, Generic Programming,  ","archived":false,"fork":false,"pushed_at":"2017-03-25T06:21:22.000Z","size":345,"stargazers_count":86,"open_issues_count":20,"forks_count":32,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-06T17:42:41.650Z","etag":null,"topics":["c-sharp","delegate","encapsulation","example-code","example-project","extention-methods","ienumerator-interfaces","inheritance","polymorphism","thread","tutorial","tutorial-code","yield"],"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/tigranv.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}},"created_at":"2017-01-11T19:31:14.000Z","updated_at":"2024-10-03T18:57:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"acf95ede-7927-4127-a885-1e8a10deccf0","html_url":"https://github.com/tigranv/Useful_Examples_C-Sharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigranv%2FUseful_Examples_C-Sharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigranv%2FUseful_Examples_C-Sharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigranv%2FUseful_Examples_C-Sharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigranv%2FUseful_Examples_C-Sharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tigranv","download_url":"https://codeload.github.com/tigranv/Useful_Examples_C-Sharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248020592,"owners_count":21034459,"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","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":["c-sharp","delegate","encapsulation","example-code","example-project","extention-methods","ienumerator-interfaces","inheritance","polymorphism","thread","tutorial","tutorial-code","yield"],"created_at":"2024-08-01T16:01:39.172Z","updated_at":"2025-04-09T10:31:58.111Z","avatar_url":"https://github.com/tigranv.png","language":"C#","readme":"# Useful Examples on C#  \u003cimg src=\"https://cloud.githubusercontent.com/assets/24522089/21962098/41a510c8-db36-11e6-95ef-eb392a0a1919.png\" align=\"right\" width=\"150px\" height=\"150px\" /\u003e \nIn this repository, I gathered a lot of useful examples that I create while studying programming. Here you can find examples on the use of the **Inheritance**, **Interface**, **Indexers**, **Operators Overloading**, **Extention Methods**, **Exception Handling**,  etc.\n\n1. [**Encapsulation**, **Inheritance**,  **Polymorphism** (Accelerator magnets)](https://github.com/tigranv/Useful-examples/tree/master/AcceleratorMagnets(InheritanceExample)) \n\n2. [**Abstraction**, **Interfacies** (3D Geometric Shapes) ----------\u003e](https://github.com/tigranv/Useful-examples/tree/master/Geometric-Shapes-3D) \u003cimg src=\"https://cloud.githubusercontent.com/assets/24522089/22154134/c4504766-df43-11e6-8bf0-20dd4449a48d.PNG\" align=\"right\" width=\"400px\" height=\"150px\" /\u003e\n\n3. [**Indexers** (New Solar System, Fibonacci Calculator)](https://github.com/tigranv/Useful-examples/tree/master/GalaxySolarSystem(Example%20of%20Indexers))\n\n4. [**Extention Methods** and **Dictionary** (Latin to Armenian) ](https://github.com/tigranv/Useful-examples/tree/master/LatinToArmenianConverter)\n\n5. [Example of **Operators Overloading** (Vector Arithmetic)](https://github.com/tigranv/Useful-examples/tree/master/Vector-Arithmetic)\n\n6. [Functions for converting 4 bytes to one Int32 in binary](https://github.com/tigranv/Useful-examples/tree/master/From4BytesToInt32Methods)\n\n7. [ **IO**, **Exception Handling** (Creat file, Clean Directory)](https://github.com/tigranv/Useful-examples/tree/master/WorkWithFiles) \u003cimg src=\"https://cloud.githubusercontent.com/assets/24522089/22175859/2c1eaaa8-e017-11e6-9694-17371ac3d4be.PNG\" align=\"right\" width=\"400px\" height=\"120px\" /\u003e\n\n\n8. [**Creating Directory Tree** ---------------------------------------\u003e](https://github.com/tigranv/Useful-examples/tree/master/Directory%20Tree)  \n\n9. [**Delegate** (Integral Calculator)](https://github.com/tigranv/Useful-examples/tree/master/Integral%20Calculator)\n\n10. [**Generic Programming** (MyList, Generic Extention)](https://github.com/tigranv/Useful-examples/tree/master/GenericProgramming)\n\n11. [**Events**  (Timer and Press Key Event Handler)](https://github.com/tigranv/Useful-examples/tree/master/EventDelegatExamples)\n\n12. [**IEnumerable, IEnumerator Interfaces, Yield**](https://github.com/tigranv/Useful-examples/tree/master/Collections%20IEnumerable%20IEnumerator)  \u003cimg src=\"https://cloud.githubusercontent.com/assets/24522089/22568638/04730a4e-e9ae-11e6-9c86-c977235a33bf.gif\" align=\"right\" width=\"400px\" height=\"220px\" /\u003e\n\n\n13. [**LINQ** Introduction, Keywords](https://github.com/tigranv/Useful-examples/tree/master/LINQ) \n\n\n14. [**Garbage Collector**](https://github.com/tigranv/Useful-examples/tree/master/Garbage%20Collector) \n\n\n15. [Web Page Spying (**IDisposable, IO, Exaption Handling**)-----\u003e](https://github.com/tigranv/Useful-examples/tree/master/Web%20Page%20Spying)\n\n16. [**Object Class, MemberwiseClone, IClonable Interface**](https://github.com/tigranv/Useful_Examples/tree/master/ICloneable%20Object%20MemberwiseClone)\n\n\n17. [**Thread Class, Threading**](https://github.com/tigranv/Useful_Examples/tree/master/Threads)\n\n18. [**Task Parallel Library (TPL)** (Betting Terminal)](https://github.com/tigranv/BETTING-TERMINAL)\n\n19. [**Reflection** (Type, Activator, Early - Late Binding, ...)](https://github.com/tigranv/Useful_Examples/tree/master/Reflection%20and%20Attributes)\n\n20. [**Attributes** (Create, Obsolete, Conditional, ...)](https://github.com/tigranv/Useful_Examples/tree/master/Attributes)\n\n\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003e Projects written on C# 6.0, .NET Framework 4.6 Visual Studio 2015 Comunity Edition\n\n\n","funding_links":[],"categories":["C#","C\\#"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigranv%2FUseful_Examples_C-Sharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftigranv%2FUseful_Examples_C-Sharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigranv%2FUseful_Examples_C-Sharp/lists"}