A C# 9 generic record.
public record ExampleRecord<T>
parameter | description |
---|---|
T | Some generic type. |
name | description |
---|---|
ExampleRecord(…) | A C# 9 generic record. |
Age { get; set; } | An integer. |
Days { get; set; } | A hash set. |
GenericLambda { get; set; } | An lambda parameter. |
GenericType { get; set; } | A generic type parameter. |
Name { get; set; } | A string. |