找回密碼
 To register

QQ登錄

只需一步,快速開(kāi)始

掃一掃,訪問(wèn)微社區(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) 吾愛(ài)論文網(wǎng) 大講堂 北京大學(xué) Oxford Uni. Harvard Uni.
發(fā)展歷史沿革 期刊點(diǎn)評(píng) 投稿經(jīng)驗(yàn)總結(jié) SCIENCEGARD IMPACTFACTOR 派博系數(shù) 清華大學(xué) Yale Uni. Stanford Uni.
QQ|Archiver|手機(jī)版|小黑屋| 派博傳思國(guó)際 ( 京公網(wǎng)安備110108008328) GMT+8, 2025-10-5 19:20
Copyright © 2001-2015 派博傳思   京公網(wǎng)安備110108008328 版權(quán)所有 All rights reserved
快速回復(fù) 返回頂部 返回列表
同心县| 娱乐| 甘德县| 荣昌县| 安多县| 福建省| 桐乡市| 金坛市| 南安市| 即墨市| 庐江县| 远安县| 沽源县| 台北县| 合阳县| 娄烦县| 阜康市| 海口市| 桐庐县| 富阳市| 桃源县| 丰宁| 潜江市| 五常市| 咸丰县| 当雄县| 胶州市| 团风县| 佛坪县| 汨罗市| 清镇市| 深水埗区| 汝城县| 遂溪县| 双流县| 红河县| 阿勒泰市| 阿克陶县| 沛县| 江华| 鲁甸县|