tankcr

Untitled

Jun 13th, 2014
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.71 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<string> tableData;
  14.  
  15.         public List<string> 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.  
  33.             return table;
  34.         }
  35.  
  36.     }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment