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