Why use the params keyword in C#? #C# #Params #XAML |  MSDEVBUILD Tamil | Suthahar Jegatheesan

Why use the params keyword in C#? #C# #Params #XAML | MSDEVBUILD Tamil | Suthahar Jegatheesan

316 Просмотров

By using the params keyword, you can specify a method parameter that takes a variable number of arguments. The parameter type must be a single-dimensional array.

No additional parameters are permitted after the params keyword in a method declaration, and only one params keyword is permitted in a method declaration.

When you call a method with a params parameter, you can pass in:

A comma-separated list of arguments of the type of the array elements.
An array of arguments of the specified type.
No arguments. If you send no arguments, the length of the params list is zero.

About Suthahar:
Suthahar Jegatheesan is a Mobile and Cloud Specialist/Architect, Microsoft Certified Trainer, and Microsoft Author and he has 15 + years of IT experience as a Technology Consultant /Programmer/Developer in the IT industry. Suthahar is an industry luminary focused on AI, Computer Vision, Bot, Machine Learning, MAUI, Azure, Xamarin, and Web & Emerging User Experiences as a subject matter expert (SME) in implementation, architecture, development, and administration. Join My channel and please do the subscription to get access to all the Free Video

MSDEVBUILD author by SUTAHAHR JEGATHEESAN, here I am sharing Cloud, Mobile, and Microsoft AI-related real-time use of video, the language is English and Tamil

MSDEVBUILD: English version

📰 https://www.youtube.com/channel/UCwoWf6zryMFwEyOh2UYLSwA

MSDEVBUILD: Tamil Version

📰 https://www.youtube.com/channel/UCPwZsK00EZDfIrj5DCYyuPA

Nikhi and Bhavi:

Nikhi and Bhavi channel is my personal blog, My Foreign company job lifestyle and my kid's growth and learning activity, and Common entertainment content.
📰 https://www.youtube.com/channel/UCDrVJHz36TVZ3eFP8n-KLSg

Follow:
📄 Website: https://www.msdevbuild.com
👨‍💻 GitHub: https://github.com/jssuthahar
🦜 Twitter: https://twitter.com/jssuthahar
🦜 About me - http://suthahar.msdevbuild.com/

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me(SUTHAHAR JEGATHEESAN) .They are NOT officially affiliated or endorsed by my employer in any way. Opinions and views are my own.

Тэги:

#msdevbuild #tamil_c# #tamil_wpf #suthahar #India_MVP #TamilMVP #Microsoft_MVP #Azure #Tamil_Azure #tamil_programmer #msbuild #params_(C#_Reference) #C#_-_Passing_Parameters_by_Reference #C#_Params #Use_Params_Keyword_in_C# #C#_Params_Keyword_with_Examples #Params_keyword_in_c# #Passing_multiple_parameters_to_a_method #params #What_is_the_use_of_params_keyword_?_(c#_interview_question) #C#_params_keyword #Learn_How_To_Program_In_C# #india_mvp #PARAMS_KEYWORD_IN_C#_Tamil
Ссылки и html тэги не поддерживаются


Комментарии: