Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.78 KB | None | 0 0
  1.        private void compareCSVtoList(string csvFile)
  2.         {
  3.             string[][] invoice = parseCSV(csvFile);
  4.             /* invoice array looks like
  5.              * 2,CPP6500
  6.              * 5,CSMD489
  7.              * 2,CPP6500
  8.              */
  9.  
  10.             List<string[]> items = new List<string[]>(itemsList.Items.Count);
  11.             getListCompounded(ref items);
  12.             /* items array looks like
  13.              * 3,CPP6500
  14.              * 5,CSMD489
  15.              * Items will not appear twice in a row, they are compounded into one line
  16.              */
  17.            
  18.             // how to compare both list of items?
  19.             // and find missing and extra items?
  20.             // need to counter bug where an invoice with 2x e6500 and then further down 3x e6500
  21.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement