Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
using System.Collections.Generic;
using System.IO;
using System.IO.Enumeration;
using System.Linq;
namespace BasicDictionary
{
class Program
{
static void BuildDictionary(string fileName, Dictionary<string, int> dict)
{
string line;
dict.Clear(); // just in case dictionary already got stuff in
StreamReader sr = new StreamReader(fileName);
line = sr.ReadLine();
while (line != null)
{
string[] words = line.Split(" ");
foreach (var word in words)
{
Console.WriteLine(word);
}
line = sr.ReadLine();
}
sr.Close();
Console.ReadLine();
}
static int GetWordCount(string wordsearched, Dictionary<string, int> dict)
{
return 0;
}
static void Main(string[] args)
{