Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Custom record format sample

public string ToString(string? format, IFormatProvider? _)
    => format switch
    {
        "A" => $"{BirthDay.GetAge()}",
        "F" => $"{Id,-5}{FirstName} {LastName}",
        "N" => $"{FirstName} {LastName}",
        "B" => $"{BirthDay}",
        "I" => $"{Id}",
        _ => $"{Id,-3}{BirthDay} {LastName}, {BirthDay}"
    };