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;
- namespace DataGridAPI
- {
- class Program
- {
- static void Main(string[] args)
- {
- var list = new FileReader();
- List<List<string>> content;
- content = list.ReadFile();
- int listLenght = content[0].Count;
- int insideListLenght = content.Count;
- for (int i = 0; i < listLenght; i++)
- {
- for (int j = 0; j < insideListLenght; j++)
- {
- Console.Write("{0,35}", content[j][i]);
- }
- Console.WriteLine();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement