回答編集履歴

1

見直しキャンペーン中

2023/07/22 08:05

投稿

TN8001
TN8001

スコア9405

test CHANGED
@@ -1,13 +1,7 @@
1
1
  MainにSTAThread属性をつけてください。
2
-
3
- ```C#
2
+ ```cs
4
-
5
3
  [STAThread]
6
-
7
4
  static void Main(string[] args)
8
-
9
5
  ```
10
6
 
11
-
12
-
13
7
  [STAThreadAttribute クラス (System) | Microsoft Docs](https://docs.microsoft.com/ja-jp/dotnet/api/system.stathreadattribute)