This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Dec 13th, 2012  |  syntax: C#  |  size: 0.28 KB  |  views: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public static clientePlus operator +(clientePlus uno, clientePlus otro)
  2.         {
  3.            clientePlus aux = new clientePlus();
  4.             //validas q los obj uno y otro no sean nulls
  5.            aux.attr1 = uno.attr1 + otro.attr1
  6.            // Seguis con todos los atributos
  7.             return aux;
  8.         }
clone this paste RAW Paste Data