Skip to content

Instantly share code, notes, and snippets.

Created Jul 8, 2021
What would you like to do?
public sealed class Employee
public Employee(
string name,
DateTime dateOfJoining)
Id = Guid.NewGuid();
Name = name;
DateOfJoining = dateOfJoining;
public Guid Id { get; }
public string Name { get; }
public DateTime DateOfJoining { get; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment