Advertisement
tankcr

Untitled

Jun 13th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Net;
  7. using System.IO;
  8.  
  9. namespace ROD_Deck_Builder
  10. {
  11. public class Cards
  12. {
  13. List<Card> tableData;
  14.  
  15. public List<Card> TableData
  16. {
  17. get { return tableData; }
  18. set { tableData = value; }
  19. }
  20.  
  21. public Cards()
  22. {
  23.  
  24. }
  25. }
  26. public class GetTable
  27. {
  28. public static Cards GetTableData(string tablepath)
  29. {
  30. Cards table = new Cards();
  31. var reader = new StreamReader(File.OpenRead(@tablepath));
  32. while (!reader.EndOfStream)
  33. {
  34. var line = reader.ReadLine();
  35. var values = line.Split(';');
  36.  
  37. }
  38.  
  39. return table;
  40. }
  41.  
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement