Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

C# 6.0 Online Skills Assessment Test

Topics Covered

  • Null-Conditional Operator
  • Static Using Syntax
  • Expression Bodied Function & Property
  • Boolean Comparison Operator
  • Increment Operators
  • Regular Expression
  • Disposal and Garbage Collection

Useful for hiring

  • C# Developer
  • C# Programmer
  • ASP.Net C# Developer

Start hiring job-fit candidates using this assessment


"Interview Mocha has provided UNEECOPS with a veritable assessment platform with a comprehensive test library, online test platform, and intelligent reports. This made it easier for us to map different job openings with job-fit candidates and recruit faster."

Nisha Chandila, UNEECOPS,
Talent Acquisition Manager

Look at the following code:
int n = '3' + '4';
char c = (char)n;

If we run it, what would be the result?

    • 34

    • g

    • 7

    • None of the mentioned.


You have following line:

FileStream fs = new FileStream("myFile.txt", FileMode.Open);
try {
    // ... Write to the file ...
finally {
    if (fs != null)((IDisposable) fs).Dispose();

What is the purpose of finally block?

    • The finally block ensures that the Dispose method is called when the garbage collector is not working.

    • The finally block ensures that the Dispose method is called only if an exception is thrown.

    • The finally block ensures that the Dispose method is called even when an exception is thrown or the code exits the block early.

    • None of the mentioned

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates