How to skip optional parameters in C#? April 4, 2023 by Tarik If this is C# 4.0, you can use named arguments feature: foo(x: 5, optionalZ: 8); See this blog for more information.