C
C#3mo 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
Angius3mo ago
Just click Create...? This is the console template
zehra
zehraOP3mo ago
No description
Angius
Angius3mo ago
Seems like a perfectly fine console project to me
zehra
zehraOP3mo ago
Can I create different classes in this project to implement c# basic paractice ?
Angius
Angius3mo ago
Sure
zehra
zehraOP3mo ago
thank you
Angius
Angius3mo ago
If it's the missing class Program and public void Main() that tripped you up, you can just add them yourself
Angius
Angius3mo ago
Or check this option
No description
zehra
zehraOP3mo ago
where can I write class Program ? is it for creating Class?
Angius
Angius3mo 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
zehraOP3mo ago
But I want to create differen class like this but mine is different
No description
Angius
Angius3mo ago
Different how? And different from what?
zehra
zehraOP3mo ago
I got it now Thank you very much indeed , I have created classes
Want results from more Discord servers?
Add your server