About the Editor |
|
xvii | |
|
Chapter 1 Mastering C# Programming Language--A Beginner's Guide |
|
|
1 | (26) |
|
Introduction To C# Programming Language |
|
|
3 | (1) |
|
|
3 | (2) |
|
|
5 | (1) |
|
|
6 | (2) |
|
|
8 | (1) |
|
|
8 | (1) |
|
|
9 | (1) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
13 | (1) |
|
|
14 | (1) |
|
|
14 | (1) |
|
|
15 | (1) |
|
|
16 | (1) |
|
|
17 | (1) |
|
Understanding The Basic Structure Of The C# Program |
|
|
18 | (1) |
|
|
19 | (1) |
|
|
19 | (1) |
|
|
20 | (1) |
|
|
20 | (1) |
|
|
21 | (1) |
|
|
22 | (1) |
|
|
22 | (1) |
|
|
23 | (4) |
|
Chapter 2 Building Blocks of C# |
|
|
27 | (24) |
|
|
27 | (1) |
|
|
28 | (1) |
|
|
29 | (1) |
|
|
29 | (1) |
|
|
30 | (1) |
|
Method Body and Local Variables |
|
|
30 | (1) |
|
Static and Instance Methods |
|
|
31 | (1) |
|
|
31 | (2) |
|
|
33 | (1) |
|
|
33 | (1) |
|
|
34 | (1) |
|
|
34 | (1) |
|
|
34 | (1) |
|
|
34 | (1) |
|
|
35 | (1) |
|
|
35 | (1) |
|
|
35 | (1) |
|
Common Language Specification |
|
|
36 | (1) |
|
|
36 | (1) |
|
|
36 | (1) |
|
|
37 | (1) |
|
|
37 | (1) |
|
Framework Class Library (FCL) |
|
|
37 | (1) |
|
|
37 | (2) |
|
Why Do Companies Use NET? |
|
|
39 | (1) |
|
|
40 | (2) |
|
|
42 | (1) |
|
What Languages Do Developers Have Access to While Working with NET? |
|
|
43 | (1) |
|
|
44 | (1) |
|
|
45 | (1) |
|
|
46 | (1) |
|
What Are the Benefits of Using Assemblies? |
|
|
47 | (1) |
|
|
47 | (1) |
|
|
48 | (1) |
|
|
48 | (1) |
|
|
49 | (2) |
|
Chapter 3 Data Types and Operators |
|
|
51 | (38) |
|
|
52 | (1) |
|
|
53 | (1) |
|
|
54 | (1) |
|
|
54 | (1) |
|
|
55 | (1) |
|
|
55 | (1) |
|
|
56 | (1) |
|
|
57 | (1) |
|
|
58 | (1) |
|
|
59 | (1) |
|
|
59 | (2) |
|
Instance Variables or Non-Static Variables |
|
|
61 | (3) |
|
Static Variables or Class Variables |
|
|
64 | (1) |
|
Difference between Instance Variable and Static Variable |
|
|
65 | (1) |
|
|
66 | (2) |
|
|
68 | (2) |
|
|
70 | (2) |
|
Which Types Can Be Used as a Constant? |
|
|
72 | (1) |
|
A Constant Alternative: The Read-Only Field |
|
|
73 | (2) |
|
Reference Type And Value Types |
|
|
75 | (2) |
|
|
77 | (3) |
|
|
80 | (1) |
|
|
80 | (3) |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
84 | (5) |
|
Chapter 4 Exploring User-Defined Types |
|
|
89 | (38) |
|
|
90 | (3) |
|
|
93 | (1) |
|
Creating and Using Objects |
|
|
94 | (1) |
|
|
95 | (1) |
|
Access to Fields of an Object |
|
|
96 | (1) |
|
Access to the Memory and Properties of an Object--Example |
|
|
96 | (1) |
|
Calling Methods of Objects |
|
|
97 | (1) |
|
Calling Methods of Objects--Example |
|
|
97 | (1) |
|
|
98 | (1) |
|
Constructor with Parameters |
|
|
98 | (1) |
|
Calling Constructors--Example |
|
|
99 | (2) |
|
When to Use Static Fields and Methods |
|
|
101 | (1) |
|
Static Fields and Methods--Example |
|
|
102 | (1) |
|
|
103 | (1) |
|
|
104 | (1) |
|
|
105 | (1) |
|
|
106 | (4) |
|
|
110 | (8) |
|
|
118 | (5) |
|
|
123 | (4) |
|
Chapter 5 Object-Oriented Programming in C# |
|
|
127 | (52) |
|
|
129 | (1) |
|
Basic Principles Concept in C# Programming |
|
|
129 | (1) |
|
|
130 | (1) |
|
|
131 | (1) |
|
|
132 | (1) |
|
|
133 | (2) |
|
|
135 | (3) |
|
|
138 | (2) |
|
|
140 | (2) |
|
|
142 | (4) |
|
|
146 | (1) |
|
|
146 | (1) |
|
|
146 | (1) |
|
|
147 | (1) |
|
|
147 | (1) |
|
|
148 | (1) |
|
|
149 | (1) |
|
Multiple Class Declaration |
|
|
150 | (1) |
|
|
151 | (3) |
|
|
154 | (1) |
|
Constructor and Destructor |
|
|
154 | (2) |
|
|
156 | (2) |
|
|
158 | (2) |
|
|
160 | (2) |
|
|
162 | (1) |
|
|
163 | (2) |
|
|
165 | (1) |
|
|
166 | (1) |
|
|
167 | (2) |
|
Encapsulation And Inheritance |
|
|
169 | (3) |
|
Advantages of Encapsulation |
|
|
172 | (1) |
|
|
173 | (1) |
|
Types of Inheritance in C# |
|
|
173 | (3) |
|
Advantages of Inheritance in C# |
|
|
176 | (1) |
|
Why Use Inheritance and How It Makes It Easy to Work? |
|
|
177 | (1) |
|
|
177 | (2) |
|
|
179 | (34) |
|
|
180 | (1) |
|
Characteristics of Generics |
|
|
181 | (1) |
|
|
182 | (1) |
|
|
183 | (1) |
|
|
184 | (1) |
|
|
185 | (1) |
|
Generic Class and Methods |
|
|
186 | (3) |
|
|
189 | (2) |
|
|
191 | (2) |
|
Generic Types And Methods |
|
|
193 | (1) |
|
|
193 | (3) |
|
|
196 | (2) |
|
|
198 | (3) |
|
Reference Type Constraints |
|
|
201 | (2) |
|
|
203 | (1) |
|
Value Types Down with Unmanaged Constraints |
|
|
204 | (1) |
|
|
204 | (1) |
|
Other Special Type Constraints |
|
|
204 | (1) |
|
|
205 | (1) |
|
|
206 | (1) |
|
Covariance And Contravariance In Generics |
|
|
206 | (4) |
|
Generic Interfaces with Contravariant Type Parameters |
|
|
210 | (3) |
|
Chapter 7 Functional Programming and Lambdas in C# |
|
|
213 | (44) |
|
|
214 | (1) |
|
Benefits of Functional Programming |
|
|
215 | (3) |
|
|
218 | (5) |
|
|
223 | (2) |
|
C# Functional Programming |
|
|
225 | (1) |
|
|
226 | (1) |
|
|
227 | (2) |
|
Asynchronous Functions with Callbacks |
|
|
229 | (1) |
|
|
230 | (3) |
|
|
233 | (1) |
|
|
234 | (2) |
|
|
236 | (2) |
|
Variable Scope in Lambda Expression |
|
|
238 | (2) |
|
|
240 | (2) |
|
|
242 | (1) |
|
Advantages of LINQ Include the Following |
|
|
243 | (2) |
|
|
245 | (2) |
|
|
247 | (1) |
|
|
248 | (2) |
|
|
250 | (1) |
|
|
250 | (1) |
|
|
251 | (2) |
|
|
253 | (1) |
|
|
253 | (1) |
|
|
253 | (1) |
|
|
254 | (3) |
|
Chapter 8 Dynamic Programming and Reflection |
|
|
257 | (34) |
|
Advantages Of Dynamic And Static Languages |
|
|
259 | (4) |
|
Recursion vs. Dynamic Programming |
|
|
263 | (1) |
|
|
263 | (1) |
|
Approaches of Dynamic Programming |
|
|
263 | (1) |
|
|
263 | (1) |
|
|
264 | (2) |
|
|
266 | (1) |
|
|
266 | (1) |
|
Dynamic Programming In C# |
|
|
266 | (1) |
|
|
267 | (5) |
|
Dynamic and Overloading of Methods |
|
|
272 | (2) |
|
|
274 | (1) |
|
|
275 | (1) |
|
Defining Reflection in C# |
|
|
275 | (1) |
|
|
276 | (2) |
|
How Reflection in C# Works |
|
|
278 | (2) |
|
|
280 | (1) |
|
|
281 | (1) |
|
How Does Dynamic Type Work? |
|
|
281 | (2) |
|
|
283 | (1) |
|
|
283 | (1) |
|
|
284 | (1) |
|
Dynamic Object Interoperability |
|
|
284 | (1) |
|
Why Should We Use the Dynamic Type |
|
|
284 | (1) |
|
|
285 | (2) |
|
Var vs. Object vs. Dynamic |
|
|
287 | (1) |
|
|
288 | (1) |
|
|
288 | (1) |
|
|
289 | (2) |
Appraisal |
|
291 | (8) |
Index |
|
299 | |