7
votes
3answers
221 views

What are common patterns for handling possible pluralization in message properties?

Obviously users like to see text properly pluralized, and pluralization schemes vary in the various written languages one may encounter. When internationalizing an app, what pattern(s) are useful for ...
9
votes
4answers
437 views

How would I design an interface such that it's clear which properties may change their value, and which will remain constant?

I am having a design issue regarding .NET properties. interface IX { Guid Id { get; } bool IsInvalidated { get; } void Invalidate(); } Problem: This interface has two read-only ...
0
votes
1answer
673 views

Reference public exposed property or private field in other parts of a class [duplicate]

Possible Duplicate: Private variable vs property? I have a public property with a get and set accessor. Associated with this property is a private field. Is it best practice when ...