What is the purpose of the params keyword?

Mid C#

Answer

The params keyword allows passing a variable number of arguments to a method without explicitly creating an array.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice