I'm not a very advanced programmer and here is my problem:
I'm trying to write a hangman game and I want to use online dictionaries as database.
I created a windows form application to do that. Is there a better option to achieve my aim?
I could find some pieces of codes on the internet. It just helps me to open source code of webpage.
Here is the codes I found:
string url = " "; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Method = "GET"; WebResponse wrs = request.GetResponse(); StreamReader reader = new StreamReader(wrs.GetResponseStream(), Encoding.UTF8); string result = reader.ReadToEnd();
Can you help me?