I have a main class in C# and I’m trying to run this class from command line.
is it possible or i need to use the Visual studio command line.
I have a main class in C# and I’m trying to run this class
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Once you compile the project to an EXE, you can run the EXE like any other EXE.
Unlike Java, there is no concept of executing a specific class in .Net; running a managed EXE file will execute that assembly’s entry point (
Main()method).