C# Online Coding Test
- Junior, senior or expert
- Question bank or custom questions
- Updated
A CoderPad C# coding test is an online test for .NET developers that you build in CoderPad Screen from the CoderPad question bank, your own questions, or both, at junior, senior or expert level. Candidates write and run C#, and you get a scored report on their LINQ, async and object-oriented code.
What can your C# coding test cover?
The CoderPad question bank includes C# questions on LINQ, async/await, generics and exception handling, suited to .NET back-end, Unity game and Windows desktop developers. Build your test from these questions, your own, or both. You can combine theory questions, such as when to use an interface instead of an abstract class, with coding tasks.
| C# skills to assess |
|
|---|---|
| Jobs using C# |
|
| Question types | Multiple choice, coding exercises |
| Levels | Junior, Senior, Expert |
| Questions | From the CoderPad question bank, your own questions, or both |
| Test length | Set by the questions you choose |
Sign up free to explore the question bank and try the candidate experience
Sample C# coding question: Temperature closest to zero
Analyze a set of temperature readings to find the one closest to zero. Implement the C# method ClosestToZero so it returns the temperature in the array ts that is closest to 0.
- If ts is empty, return 0.
- If two readings are equally close to zero, return the positive one. For example, if ts contains -5 and 5, return 5.
- Temperatures are floating point numbers from -273 to 5526.
- ts is never null.
public static double ClosestToZero(double[] ts)
What a good solution shows
- Returns 0 for an empty array before reading any element.
- Compares absolute values and returns the positive reading on a tie, such as 5 over -5.
- Reads each value once, so the C# method stays fast on large arrays.
How is a C# coding test scored?
CoderPad Screen auto-grades each candidate's answers and gives you a scored report. The report shows each candidate's strengths and weaknesses and compares their skills with others who took similar assessments.
Code playback shows how each candidate thinks:
- See how they approach a problem and build their solution.
- Note areas to explore further in later interviews.
- Spot questionable or concerning behavior.
How CoderPad prevents cheating in C# tests
Code playback and plagiarism detection show whether a C# answer was written in the editor or copied from elsewhere. To confirm they understand it, add a video follow-up question that asks them to explain their solution and the main decisions behind it.
Code playback
See how candidates wrote their code or text.
Plagiarism detection
Flags when a previous candidate's exact code is reused.
Copy/paste tracking
Shows when code may have come from elsewhere.
AI follow-up questions
Check candidates understand their code.
See how video questions work See all cheating prevention features
How building a C# coding test works
Build the test
Pick C# questions from the CoderPad question bank, write your own, or combine both.
Invite candidates
Send each candidate a link to the test by email.
Candidates take the test
They code in the browser, with nothing to install.
Review results
Read the scored report and watch the code playback.
Create and send coding assessments in 60 seconds, even if you're not techy. Choose the level and the number of questions, and add your own coding exercises whenever you need them.
How do you test C# skills before hiring?
Send a C# coding test, review a .NET project the candidate built, then hold a live interview on async code. A resume that lists .NET doesn't show whether the developer can trace a NullReferenceException.
Questions to ask and signals to look for at each step:
Portfolio
Look for .NET solutions with an xUnit or NUnit test project alongside the main code.
Code on GitHub
Published NuGet packages and readable Unity scripts show C# written for other people to use.
Coding test level
Use the junior level for graduate .NET hires and the expert level for engineers who design services around interfaces and generics.
Live interview
Ask the candidate to fix a KeyNotFoundException or async bug from CoderPad's C# interview questions.
C# interview questions 5 ways to test developers' skills before hiring
How should you screen C# candidates?
- Send the C# test once a recruiter confirms the candidate's .NET experience, before booking any engineer's time.
- Choose questions at the level of the role, and tell candidates how long the test will take.
- Say in the job ad that coding tasks come before any interview.
We had no unified approach or tool to assess technical ability. Today, CoderPad Screen enables us to test against a wide selection of languages and is continually updated.
Trusted by 4,000+ customers worldwide
Security and compliance
SSO / SAML
Okta, Azure AD, Google and other SAML 2.0 providers, on the Enterprise plan.
SOC 2 Type 2
SOC 2 Type 2 report available.
GDPR compliant
GDPR and CCPA compliant.