A developer named Wendy is customizing an HMI (Human Machine Interface) for industrial equipment and discovers a puzzling API design: a collection type in C# exposes a public setter on its Count property. Setting the count of items in a collection directly raises obvious questions about what would actually happen — and Wendy is understandably afraid to find out.
2K Impressions