質問編集履歴

1

Mainプログラムとメソッド、前回のスレッドを補足

2020/07/05 07:25

投稿

_string
_string

スコア15

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,7 @@
1
+ ###前回のスレッド
2
+
3
+ https://teratail.com/questions/274002#reply-392322
4
+
1
5
  ### 前提・実現したいこと
2
6
 
3
7
  GetResponseを正常に動作させたい
@@ -21,6 +25,20 @@
21
25
 
22
26
 
23
27
  ```c#
28
+
29
+ //Mainプログラム
30
+
31
+ static void Main()
32
+
33
+ {
34
+
35
+ string Url = "https://www.google.com/?hl=ja";
36
+
37
+ Console.WriteLine(GetHtml(Url));
38
+
39
+ }
40
+
41
+ //メソッド
24
42
 
25
43
  public string GetHtml(string url)
26
44