Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.IO;
- namespace ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- FlashCard Card = new FlashCard(); // declaring the class
- string path = @"D:\Documents\test.txt";
- string[] lines;
- lines = File.ReadAllLines(path);
- IList<FlashCard> CardList = new List<FlashCard>();
- Card.Create();
- CardList.Add(Card);
- Console.WriteLine(CardList[0]);
- } //main close
- } //class close
- } //namespace close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement