Jun 24, 2023
It's apples and oranges. Struct is an implementation construct (the same way a class or record would be). DTO is a pattern. So DTOs can be implemented using structs, using classes, or using records.
It's apples and oranges. Struct is an implementation construct (the same way a class or record would be). DTO is a pattern. So DTOs can be implemented using structs, using classes, or using records.
Software architect, engineering leader, musician, husband, dad