0

I was trying to print "I like pizza." in Rider, but it printed "Hello, World!"

Does anyone know why?

enter image description here
(I'm using MacBook Air)

I tried for a lot of times but still failed.

LazyOne
  • 158,824
  • 45
  • 388
  • 391

1 Answers1

1

You should check your program.cs file.

Probably it looks like this:

// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

More explanation here: https://learn.microsoft.com/en-us/dotnet/core/tutorials/top-level-templates

Bronek
  • 19
  • 2