{"id":20315103,"url":"https://github.com/hpt-dev/everythingaboutrecords","last_synced_at":"2025-09-06T03:33:09.477Z","repository":{"id":143922383,"uuid":"535024835","full_name":"hpt-dev/EverythingAboutRecords","owner":"hpt-dev","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-10T23:53:37.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T12:51:26.934Z","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/hpt-dev.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-09-10T14:37:23.000Z","updated_at":"2022-09-10T14:39:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d165f08-8d7f-42fe-83ff-20ef494fe030","html_url":"https://github.com/hpt-dev/EverythingAboutRecords","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/hpt-dev%2FEverythingAboutRecords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpt-dev%2FEverythingAboutRecords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpt-dev%2FEverythingAboutRecords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpt-dev%2FEverythingAboutRecords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpt-dev","download_url":"https://codeload.github.com/hpt-dev/EverythingAboutRecords/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818880,"owners_count":20025210,"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":[],"created_at":"2024-11-14T18:17:54.554Z","updated_at":"2025-03-04T08:45:52.360Z","avatar_url":"https://github.com/hpt-dev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Everything About Records in C#\n\nProject about learning records in c# used in this video:\n\nhttps://www.youtube.com/watch?v=IiE5-Txnt28\u0026feature=youtu.be\n\nRecords are a great tool that can help improve your code, reduce bugs and stop you having to write as much boiler plate and defensive code. In this video we will cover Reference vs Value Equality, Immutability and what Records are how to use them. \n\n #dotnet #dotnetprogramming #dotnet6 #programming #csharp #programmingforbeginners #csharp #csharptutorial  #csharpdotnet #aspnetcore #programmingtutorials \n\n▬ Contents of this video  ▬▬▬▬▬▬▬▬▬▬\n0:00 - Introduction\n0:41 - Reference vs value equality with examples\n6:15 - Change a class to use value equality example\n9:09 - What is immutability\n10:30 - How to make a property immutable\n11:11 - What is a record and when to use them\n12:25 - How to define a record class and record struct with examples\n15:14 - Records and equality when using inheritance\n\nSource code from the video (Github):\nhttps://github.com/hpt-dev/EverythingAboutRecords/\n\nRecords Documentation:\nhttps://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/types/records\n\nRecords Tutorial:\nhttps://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/records\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpt-dev%2Feverythingaboutrecords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpt-dev%2Feverythingaboutrecords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpt-dev%2Feverythingaboutrecords/lists"}