- Help Center
- Assessments: Recruiters
- C# project questions
-
Assessments: Recruiters
- Getting started
- Account settings
- Admin management
- Creating tests automatically
- Creating tests manually
- Test settings
- Sections and question pooling
- Libraries
- Multiple Choice Questions (MCQs)
- Programming
- Full stack
- SQL
- Data science
- Machine Learning (ML)
- DevOps
- Python project questions
- Selenium
- Java Project
- C# project questions
- Subjective
- Approximate
- Diagram
- File upload
- Invites
- Reports
- Billing
- HackerEarth Reports: Admins, Tests, and Teams
-
FaceCode
-
Assessments: ATS integrations
-
Assessments: Product updates
-
Assessments: Best practices
-
SSO
-
Upskilling
-
Assessments: Candidates
-
Problem setting for HackerEarth
-
Campus
-
Hackathons and Hiring Challenges
-
Frequently Asked Questions (FAQs)
C# project question - conventions
A valid C# project question should follow the given folder structure:
- The root folder needs to have three distinct folders inside:
- Main: This contains all the .cs files relevant to the question. HackerEarth platform will execute all the .cs files present inside this folder to create a .snl file.
- “xxxxSampleTests” - This contains the sample test cases for the question. You are required to ensure that the folder name ends with “SampleTest”.
- “xxxxMainTests” - This contains the actual test cases against which the candidate’s submission is evaluated. You are required to ensure that the folder name ends with “MainTest” as shown below.
The C# project questions support NUnit, which is a unit testing framework for performing unit testing based on the .NET platform. You are required to ensure that you add the correct namespace definition to the files containing the test cases.
HackerEarth platform parses the. trx file generated after running the test cases to evaluate and score the submission.