QuizCluster
MicrosoftFoundational C# · Foundational

Foundational C# with Microsoft Certification

The Foundational C# with Microsoft Certification (offered with freeCodeCamp) validates the fundamentals of writing C#: variables and data types, operators and expressions, branching and loops, working with strings and arrays, defining and calling methods, and basic debugging and error handling.

20
Questions
120 min
Time limit
70%
Pass mark
25
In question bank

Ready to sit the mock exam?

The timer starts as soon as you begin. You can flag questions, move freely between them, and review everything before submitting. No sign-in required — sign in afterwards to save the result to your history.

Start Foundational C# exam

Skills measured

C# Basics and Syntax

25%

Program structure, Main, statements and expressions, comments, namespaces, and Console input/output.

Data Types and Variables

20%

Value vs reference types, numeric types, char and string, bool, var, implicit and explicit conversion, and formatting.

Control Flow and Loops

20%

if/else, switch, the conditional and null-coalescing operators, and for, foreach, while and do-while.

Methods and Debugging

20%

Declaring methods, parameters and return values, overloading, scope, exceptions with try/catch, and using the debugger.

Arrays and Collections

15%

Single- and multi-dimensional arrays, iterating, common array methods, and an introduction to List<T>.