Computer Programming
937 learners
Mastering Functions with C#
Dive into C# functions with this comprehensive course. Learn about creating functions, using parameters, setting parameters as optional, passing arguments by reference, and inline functions in C#. Join Cosmo as he programs various mission functions to control his spacecraft.
C#
5 lessons
26 practices
2 hours
General Programming and Algorithms
Lessons and practices
Define and Use a Function
Change a Function to Void
Fix the Function Bug
Complete the Engine Status Function
Creating and Calling a Function
Function Parameters in Action
Run a Function with Named Parameters
Naming the Parameter Passed
Fixing Function Parameter Types
Complete the Launch Function
Write a Parameterized Function
Using Optional Parameters in Functions
Change Default Values in Functions
Fix the Optional Parameter Function
Complete ReportStatus with Optional Parameters
Write a Status Report Function
Understanding Value vs Reference
Switching Parameter Passing Methods
Find and Fix the Bug
Complete the Fuel Functions
Passing Arguments Mastery Task
Inline Functions in Action
Coverting a Function to Inline
Change Return Type of Inline Function
Fix Inline Function Bug
Write Compact C# Functions
Meet Cosmo:
The smartest AI guide in the universe
Our built-in AI guide and tutor, Cosmo, prompts you with challenges that are built just for you and unblocks you when you get stuck.

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal