title: What is the difference if I use class with init vs record with init?
body: <p>Here I have this code. Both also I have <code>init</code>.</p>
  <p>The first one is <code>class</code>. second one is <code>record</code>.</p>
  <pre><code>class Student
  {
      public int Id { get; init; }
      public string? Name { get; init; }
  }
  
  record Student2
  {
      public int Id { get; init; }
      public string? Name { get; init; }
  }
  </code></pre>
  <p>Both student and student2 property also immutable after initialized. so then what is the difference if I use class with init vs record with init?</p>