7 posts about Method Parameters by 6 contributors.
Know Method Parameters? Share what you know with developers who are learning it.
Unlock the power of ref and out parameters in C#! Master passing arguments by reference, modifying existing values with ref, and returning multiple values with out. Enhance your C# coding skills!
Unlock C# delegates: Learn how to declare, use, and master single-cast, multicast, and built-in delegates (Func, Action, Predicate) for flexible code!
In C#, the Action delegate represents a method that does not return a value and can accept up to 16 parameters. It's useful for passing methods as arguments, callbacks, and event handling. It supports lambda expressions and anonymous methods, making code more concise. Unlike Func<T>, Action always returns void.
Learn how C# ref and out parameters work, including initialization requirements, passing value and reference types, and returning multiple values from a method.
Explore the distinction between 'ref' and 'out' keywords in C#. Learn how 'ref' passes arguments by reference for both input and output, while 'out' is used solely for output parameters, aiding in flexible parameter passing and variable modification within methods.
Explains C# params arrays and IEnumerable, including how a params array can accept multiple enumerable sequences for iteration.
This article describes different method parameters such as value parameters, reference parameters, output parameters, and parameter arrays.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article