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.
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# examSkills 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>.