Related variables are typically encapsulated within Data Transfer Objects (DTOs). However, if you're passing this wrapper within the same local scope where the DTO isn't reused (for example, within the same class), then using Tuples is a more suitable option.
Tuples reduce the number of files and boilerplate code which effectively amounts to clutter
Tuples reduce the number of files and boilerplate code which effectively amounts to clutter
- Категория
- Программирование на си шарп
- Теги
- DTOs, tuples, c# programming
Комментариев нет.