找回密碼
 To register

QQ登錄

只需一步,快速開始

掃一掃,訪問微社區(qū)

打印 上一主題 下一主題

Titlebook: Illustrated C# 2012; Daniel M. Solis Book 20122nd edition Daniel Solis 2012

[復(fù)制鏈接]
樓主: industrious
31#
發(fā)表于 2025-3-26 22:36:31 | 只看該作者
32#
發(fā)表于 2025-3-27 01:46:50 | 只看該作者
Structs,Structs are programmer-defined data types, very similar to classes. They have data members and function members. Although structs are similar to classes, there are a number of important differences. The most important ones are the following:
33#
發(fā)表于 2025-3-27 06:45:13 | 只看該作者
Enumerations,An enumeration, or enum, is a programmer-defined type, such as a class or a struct.
34#
發(fā)表于 2025-3-27 11:51:59 | 只看該作者
Arrays,An array is a set of uniform data elements represented by a single variable name. The individual elements are accessed using the variable name together with one or more indexes between square brackets, as shown here:
35#
發(fā)表于 2025-3-27 17:36:30 | 只看該作者
Delegates,You can think of a delegate as an object that holds one or more methods. Normally, of course, you wouldn’t think of “executing” an ., but a delegate is different from a typical object. You can execute a delegate, and when you do so, it executes the method or methods that it “holds.”
36#
發(fā)表于 2025-3-27 19:11:39 | 只看該作者
Events,One common requirement in many programs is that when a particular program event occurs, other parts of the program need to be notified that the event has occurred.
37#
發(fā)表于 2025-3-27 23:08:03 | 只看該作者
38#
發(fā)表于 2025-3-28 02:06:50 | 只看該作者
Conversions,To get an understanding of what conversions are, let’s start by considering the simple case in which you declare two variables of different types and then assign the value of one (the .) to the other (the .). Before the assignment can occur, the source value must be converted to a value of the target type. Figure 16-1 illustrates type conversion.
39#
發(fā)表于 2025-3-28 09:36:54 | 只看該作者
40#
發(fā)表于 2025-3-28 14:10:38 | 只看該作者
Enumerators and Iterators,In Chapter 12, you saw that you can use a f oreach statement to cycle through the elements of an array. In this chapter, you’ll take a closer look at arrays and see why they can be processed by f oreach statements. You’ll also look at how you can add this capability to your own user-defined classes, using iterators.
 關(guān)于派博傳思  派博傳思旗下網(wǎng)站  友情鏈接
派博傳思介紹 公司地理位置 論文服務(wù)流程 影響因子官網(wǎng) 吾愛論文網(wǎng) 大講堂 北京大學(xué) Oxford Uni. Harvard Uni.
發(fā)展歷史沿革 期刊點(diǎn)評 投稿經(jīng)驗(yàn)總結(jié) SCIENCEGARD IMPACTFACTOR 派博系數(shù) 清華大學(xué) Yale Uni. Stanford Uni.
QQ|Archiver|手機(jī)版|小黑屋| 派博傳思國際 ( 京公網(wǎng)安備110108008328) GMT+8, 2025-10-6 03:07
Copyright © 2001-2015 派博傳思   京公網(wǎng)安備110108008328 版權(quán)所有 All rights reserved
快速回復(fù) 返回頂部 返回列表
宿松县| 民和| 华蓥市| 怀集县| 耒阳市| 宁乡县| 禄丰县| 临高县| 南漳县| 平邑县| 化德县| 武义县| 德惠市| 同心县| 沂源县| 临西县| 唐河县| 道真| 贺州市| 阿克陶县| 永靖县| 东丰县| 荆州市| 八宿县| 阜城县| 安西县| 澎湖县| 珲春市| 临武县| 华坪县| 本溪| 绥德县| 乌海市| 葫芦岛市| 封丘县| 晋江市| 尤溪县| 桐庐县| 丹东市| 台湾省| 苍山县|