params Keyword in C#
Written by Thong D. Nguyen Friday, 02 July 2010 08:58
Blog - Programming
The params keyword lets you specify a method parameter that takes an argument where the number of arguments is variable.
No additional parameters are permitted after the params keyword in a method declaration, and only one params keyword is permitted in a method declaration.
// cs_params.cs |
Output
| |
|
|---|---|
1 |
|
| < Prev |
|---|
Idioms
- Every man has his faults (Nhân vô thập toàn)
- A friend in need is a friend indeed. (Gian nan mới hiểu bạn bè)
Who's online
We have 9 guests online
Location
38.107.179.219
38.107.179.219Search Bot
unknown unkno

OS
PHP
MySQL
Time
Caching
GZIP
Members
Content
Web Links





Today
Yesterday
This week
Last week
This month
Last month
All days
