non so quante volte innumerevoli ho dovuto scrivere il codice per convalidare argomenti stringa: public RoomName(string name)
{
if (string.IsNullOrEmpty(name))
{
throw new ArgumentExc
Diciamo che ho un metodo di estensione public static T TakeRandom<T>(this IEnumerable<T> e)
{
...
Per convalidare l'argomento e, devo: A) se (e == null) throw new NullReferenceException() B) s