using System;
using System.Net;
using System.Text;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
public class Program
{
public static void Main()
WebClient client= new WebClient();
byte[] urlData=client.DownloadData("https://yandex.ru");
string data=Encoding.ASCII.GetString(urlData);
Console.Write(data);
}