Tại thời điểm này, PLINQ là nhắm mục tiêu sẽ được phát hành như là một phần của Phần mở rộng song song, thế hệ tiếp theo của NET hỗ trợ đồng thời. Các mẫu mô tả Chạy chương trình bằng cách nhấn phím F5. Chuỗi xuất hiện trên | WORKING WITH VISUAL C BASICS PM 3 The Add Class Wizard converts your summary comments into XML documentation but you can also add summary comments directly into your program code. TYPE THIS using System summary The summary declaration for this class. summary class Class1 RESULT The summary does not display on your screen but when you or someone else displays the code for the program the comments appear within the code. The default Classi appears in your code in the parent window and the Solution Explorer window also highlights Classi in the tree. L-Q Right-click the Classes entry in the Solution Explorer window. H Click Add. -o Click Add Class. CONTINUED 51 C ENTER CLASSES After you add your class name and its associated filename you must create a namespace. A namespace organizes your Visual C program so that it can present your program elements to external programs properly. A namespace is something like a box that you use to contain your entire program elements in. When you create a Visual C program that is something different than an empty project such as a Windows application Visual C creates the namespace for you automatically and the namespace has the name of your program. The namespace is the first thing that appears in your program. After you enter the namespace information you can define both the accessibility level for the class and the class modifiers. The accessibility level lets you determine whether your class can be accessed by all elements in your program and others or accessed by certain components. The class modifiers let you determine whether your class will be a base class or a class that cannot be inherited by another class. After you add any comments and finish with the wizard the class code appears in the parent window already created so you can concentrate on writing the rest of your program. ENTER CLASSES CONTINUED The Add New Item -Classes window appears. Type the name for your new class in the Name field. L Click Open. Your new class code