public void currency(string srcCurrency,string dstCurrency)
{
string xeString = String.Format("http://www.xe.com/ucc/convert.cgi?Amount=1&From={0}&To={1}", srcCurrency, dstCurrency);
System.Net.WebRequest wreq = System.Net.WebRequest.Create(new Uri(xeString));
System.Net.WebResponse wresp = wreq.GetResponse();
Stream respstr = wresp.GetResponseStream();
int read = respstr.Read(buf, 0, BUFFER_SIZE);
string result = Encoding.ASCII.GetString(buf, 0, read);
}
error:Error 16 The name 'BUFFER_SIZE' does not exist in the current context