57
1
using System;
2
using System.Net.Http;
3
using System.Threading.Tasks;
4
5
namespace HttpclientTestapp
6
{
7
class Program
8
{
9
/// <summary>
10
/// static_client
11
/// </summary>
12
private static readonly HttpClient static_client = new HttpClient();
13
/// <summary>
14
/// TEST_URL
15
/// </summary>
16
private static readonly string TEST_URL = "https://www.yicai.com";
17
/// <summary>
18
/// HttpClient test main
19
/// </summary>
20
/// <see cref = "https : / / docs . microsoft . com / zh - cn / dotnet / api / system . net . http . httpclient ? view = netcore - 2 . 2"/>
21
/// <param name = "args">args</param>
22
/// <returns></returns>
23
public static async Task Main(string[] args)
24
{
Cached Result
Compilation error (line 24, col 16): ; expected