|
|
|
|
|
by arwhatever
3020 days ago
|
|
Good call on the encapsulation. I've encountered the occasional public API with methods that require some type like a Tuple<int, int, string>, and got pretty peeved. And go ahead and name the argument "values" or something similar, for good measure. |
|
(bool success, string errormessage, foo addedItem)
as a return type. A big step up from Tuple<bool, string, foo>!