public static void Main()
var user = new User { FirstName = "Thiago", LastName = "Lunardi" };
Console.WriteLine( user.FullName() );
public string FirstName {get;set;}
public string LastName {get;set;}
public static class UserExtensions
public static string FullName(this User user)
=> $"{user.FirstName} {user.LastName}";