Answer the question
In order to leave comments, you need to log in
Why doesn't it output the result of the C# parse?
I can't understand why the Ethereum price is not displayed
public static String Ethereum()
{
WebClient wc = new WebClient();
String Response = wc.DownloadString("https://bankiros.ru/crypto/ethereum");
String Rate = Regex.Match(Response, @"<div class=""crypto_curr_val""> ([0-9]+\.[0-9]+)</div>").Groups[1].Value;
Console.WriteLine(Rate);
return "Ethereum:" + Rate + "\r\n";
}
public static void Main(string[] args)
{
Console.WriteLine(Ethereum());
}
Answer the question
In order to leave comments, you need to log in
String Response = wc.DownloadString("https://bankiros.ru/crypto/ethereum");
Response
get what you need? See what's in there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question