Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Viewed less than a minute ago

oCnRLydSR6TA85wo

C# .NET Core 5.0.201

Created at 3 minutes ago

Created by anonymous

Author

anonymous

3 minutes ago

Language

C#

Compiler

.NET Core 5.0.201

Options

Author

anonymous

3 minutes ago

›
9
1
2
3
4
5
6
7
8
using System;

public class Test {
public static void Main(){
Console.WriteLine("sizeof(int) = {0}", sizeof(int));
Console.WriteLine("sizeof(long) = {0}", sizeof(long));
}
}
$ dotnet build
Getting ready...
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on prog/prog.csproj...
  Determining projects to restore...
  Restored /home/jail/prog/prog.csproj (in 45 ms).
Restore succeeded.

Microsoft (R) Build Engine version 16.9.0+57a23d249 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  prog -> /home/jail/prog/bin/Debug/net5.0/prog.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.25
sizeof(int) = 4
sizeof(long) = 8
Exit Code:
0