Advertisement
Guest User

Code

a guest
Jul 17th, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 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.IO;
  7.  
  8. namespace ConsoleApp1
  9. {
  10. class Program
  11. {
  12. static void Main(string[] args)
  13. {
  14. FlashCard Card = new FlashCard(); // declaring the class
  15. string path = @"D:\Documents\test.txt";
  16. string[] lines;
  17. lines = File.ReadAllLines(path);
  18. IList<FlashCard> CardList = new List<FlashCard>();
  19.  
  20. Card.Create();
  21. CardList.Add(Card);
  22. Console.WriteLine(CardList[0]);
  23. } //main close
  24. } //class close
  25.  
  26.  
  27.  
  28. } //namespace close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement