Process 3.6

Source: Internet
Author: User

A process is a statement block that implements a specific function. It can be called elsewhere or recursively. When a process is called, it can execute a special function and return to the place where it is called. ASP. NET requires that the process be placed between <Script> and </Script>. The main advantages of the process include:
1) The process encapsulates functions and is reusable. The same process can be called in different places in the program, making the program concise and refined.
2) The process can improve the readability of the program. The process is usually named based on its completion function. The operation to be expressed can be clearly seen when it is called in a program.
3) functions can be decomposed to implement modular design. When the function to be completed is complex, it can be divided into multiple parts through a subroutine, and the design of each part is relatively easy.
VB. NET has the following processes:
Sub subprogram: executes some operations but does not return values.
Function: executes some operations and returns values.
Property process: Used to set or return the Property value of an object.
Event processing process: it is automatically called in response to events triggered by the user or system. For example, Page_Load ().

BibliographyPrevious sectionNext section

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.