Answers for "what are record in c#"

C#
0

c# record

public record Teacher : Person
{
    public string Subject { get; }

    public Teacher(string first, string last, string sub)
        : base(first, last) => Subject = sub;
}
Posted by: Guest on November-18-2020

Code answers related to "what are record in c#"

C# Answers by Framework

Browse Popular Code Answers by Language