Skip to content

Commit 8fcad0c

Browse files
authored
void should be int (#49723)
1 parent ec069cc commit 8fcad0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/whats-new/dotnet-10/runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public class Program
218218
public int[] arr;
219219
}
220220

221-
public static void Main()
221+
public static int Main()
222222
{
223223
int[] x = new int[10];
224224
GCStruct y = new GCStruct() { arr = x };

0 commit comments

Comments
 (0)