❔ how to create a class equivalent to another - C#