Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 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.  
  7. namespace Scrabble_wordlist
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13.  
  14.  
  15. string tiles; // 7 letter tiles
  16.  
  17. Console.WriteLine("Insert tile");
  18. tiles = Console.ReadLine();
  19. // loading .txt - 1 line one element of array
  20. string[] lines = System.IO.File.ReadAllLines(@"C:\Users\Kamil\Documents\Visual Studio 2015\Projects\ConsoleApplication11\ConsoleApplication11\enable1.txt");
  21.  
  22. Wordlist Scrabble2 = new Wordlist(lines, tiles);
  23. Scrabble2.check();
  24. Bestscore Scrabble3 = new Bestscore(lines, tiles);
  25. Scrabble3.Score();
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement