0
0
llucycodes42
The code has a Person class with a constructor that takes two arguments: a string name and an integer age. The class also has a Deconstructor method that takes two arguments: a Person object and out object. The Deconstructor method returns a Person object and out object.
Shortcut: recordd
public record Person
{
public Person(string name, int age) => (Name, Age) = (, );
public { get; set; }
public { get; set; }
public void Deconstructor(out , out ) => (, ) = (, );
}