Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public abstract class SomeAbstractDto
{
}
public class DerivedSomeDto1 : SomeAbstractDto
{
public string SomeRandomProperty1 {get; set; }
public string SomeRandomProperty2 {get; set; }
}
public class DerivedSomeDto2 : SomeAbstractDto
{
public int SomeRandomProperty1 {get; set; }
public int SomeRandomProperty2 {get; set; }
}
.
.
.
public class DerivedSomeDto18 : SomeAbstractDto
{
public double SomeRandomProperty1 {get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment