C
C#2mo ago
zehra

✅ I want to write basic C# code in Rider I have downloaded but I can not see console APP option

How I can create project ?
No description
13 Replies
Angius
Angius2mo ago
Just click Create...? This is the console template
zehra
zehraOP2mo ago
No description
Angius
Angius2mo ago
Seems like a perfectly fine console project to me
zehra
zehraOP2mo ago
Can I create different classes in this project to implement c# basic paractice ?
Angius
Angius2mo ago
Sure
zehra
zehraOP2mo ago
thank you
Angius
Angius2mo ago
If it's the missing class Program and public void Main() that tripped you up, you can just add them yourself
Angius
Angius2mo ago
Or check this option
No description
zehra
zehraOP2mo ago
where can I write class Program ? is it for creating Class?
Angius
Angius2mo ago
Are you following some tutorial or something? The older ones assume that your starting point will be
namespace MyCoolApp
{
public class Program
{
public static void Main()
{
Console.WriteLine("Hello World");
}
}
}
namespace MyCoolApp
{
public class Program
{
public static void Main()
{
Console.WriteLine("Hello World");
}
}
}
But it's been simplified a couple of years ago to just what you see here So, I'm wondering if that is what confused you And if it is, then the above code, and the code you started with, are completely equivalent So you can use whichever suits you best
zehra
zehraOP2mo ago
But I want to create differen class like this but mine is different
No description
Angius
Angius2mo ago
Different how? And different from what?
zehra
zehraOP2mo ago
I got it now Thank you very much indeed , I have created classes
Want results from more Discord servers?
Add your server