#Hi guys new here
1 messages · Page 1 of 1 (latest)
I even tried other steps
but when i run the code (so the output can be run in console) it takes time
and opens the terminal
with debugging
Im very confused why are there 2 options to run C#. In blue one and purple one
are you sure you followed everything? did you choose the wrong c# project type?
Wdym by project type?
I tried using normal vscode
there are multiple types of c# projects
Ohh the one you pick with mac os, windows
no lol
Look i tried the steps of
When he downloaded
Dotnet
It was different for him
I downloaded the dotnet 9.0 version
follow his steps exactly then lol
Look ill send screenshots
His steps do work
My problem is
When it runs
It takes time
Is that a normal thing though?
Yes
It does shoe
Show
Hello world and stuff
I also changed the color of the eltters
Console.title worked aswell
@merry raptor
Whats the difference between this:
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
And executing normal code, like Console.Writeline("Hello World");
@merry raptor
Nothing
not much of a difference?
No, there is literally no difference. The shorter version compiles with a class called Program, and puts your code in Main, automatically
The blue one is Visual Studio Code, and no it's generally advised not to use it for C#
Yes I know and many of us believe it was a mistake
ok so which tutorial on yt is better to follow
so i can see the output better?
What even is unity
It's a game engine...
Why did you ask this question in #1006674323458764851
If it has nothing to do with unity
Well for starters, you're still using Visual Studio Code - you should be using Visual Studio
But the warning is telling you what's going on
ok ill be using that boss
You don't
You can't set the console Window Height in Linux or macOS - but your code is currently set to work everywhere
If you only plan to use Windows, then you can just ignore that particular warning
You should not need to download it separately
