Skip to content

Instantly share code, notes, and snippets.

@yrshaikh
Last active August 23, 2020 03:09
Show Gist options
  • Select an option

  • Save yrshaikh/15873dda635aa60b9409b69baf36d56a to your computer and use it in GitHub Desktop.

Select an option

Save yrshaikh/15873dda635aa60b9409b69baf36d56a to your computer and use it in GitHub Desktop.

Revisions

  1. yrshaikh renamed this gist Aug 23, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. yrshaikh created this gist Aug 23, 2020.
    5 changes: 5 additions & 0 deletions csharp9-initonly-gist1.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    public class Employee
    {
    public string Name { get; init; }
    public string Department { get; init; }
    }