leonardo-m
5/28/2019 - 9:56 PM

Lampda List

if ((from A in ListaArticulos where A == Articulo select A).Any())
  {
      throw new Exception("Los artículos no pueden estar duplicados");
  }
  else {
      ListaArticulos.Add(ArticuloActual);
  }