C # Self-study Road 10

Source: Internet
Author: User

10. Array of parameters

Sometimes, when invoking a method, it is not possible to determine the number of arguments, the data type, and one solution is to use the PARAM keyword to indicate an input parameter, which is treated as an array of parameters, which can only be used as the last parameter of the method.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5D/DE/wKioL1UmJoiw9MbHAANP4MjJpdU909.jpg "title=" Hbgjrp101y0ioe$g2w}{ym0.png "alt=" Wkiol1umjoiw9mbhaanp4mjjpdu909.jpg "/> comes with the data structure.

This article from "Very blog" blog, reproduced please contact the author!

C # Self-study Road 10

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.