Can I give a default value to parameters or optional parameters in C# functions? January 14, 2023 by Tarik That is exactly how you do it in C#, but the feature was first added in .NET 4.0