Skip to content

Updated C# snippet in the README.md to use top level statements.#1181

Merged
slozier merged 1 commit intoIronLanguages:masterfrom
Kuinox:master
Apr 20, 2021
Merged

Updated C# snippet in the README.md to use top level statements.#1181
slozier merged 1 commit intoIronLanguages:masterfrom
Kuinox:master

Conversation

@Kuinox
Copy link
Copy Markdown
Contributor

@Kuinox Kuinox commented Apr 20, 2021

Hello,
Top level statements were introduced in C# with .NET 5.
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/top-level-statements
For the comparison to be fair, I think the readme should use this.

@TraceLD
Copy link
Copy Markdown

TraceLD commented Apr 20, 2021

System.Console.WriteLine("Hello world");

😜

Copy link
Copy Markdown
Contributor

@slozier slozier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, not sure why we're comparing with C# anyway. 😄

@slozier slozier merged commit bf4f829 into IronLanguages:master Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants