Atjaunināt sīkdatņu piekrišanu

Interactive C#: Fundamentals, Core Concepts and Patterns 1st ed. [Mīkstie vāki]

  • Formāts: Paperback / softback, 494 pages, height x width: 254x178 mm, weight: 1009 g, 304 Illustrations, color; 21 Illustrations, black and white; XXXIX, 494 p. 325 illus., 304 illus. in color., 1 Paperback / softback
  • Izdošanas datums: 13-Dec-2017
  • Izdevniecība: APress
  • ISBN-10: 1484233387
  • ISBN-13: 9781484233382
Citas grāmatas par šo tēmu:
  • Mīkstie vāki
  • Cena: 29,06 €*
  • * ši ir gala cena, t.i., netiek piemērotas nekādas papildus atlaides
  • Standarta cena: 34,19 €
  • Ietaupiet 15%
  • Grāmatu piegādes laiks ir 3-4 nedēļas, ja grāmata ir uz vietas izdevniecības noliktavā. Ja izdevējam nepieciešams publicēt jaunu tirāžu, grāmatas piegāde var aizkavēties.
  • Daudzums:
  • Ielikt grozā
  • Piegādes laiks - 4-6 nedēļas
  • Pievienot vēlmju sarakstam
  • Formāts: Paperback / softback, 494 pages, height x width: 254x178 mm, weight: 1009 g, 304 Illustrations, color; 21 Illustrations, black and white; XXXIX, 494 p. 325 illus., 304 illus. in color., 1 Paperback / softback
  • Izdošanas datums: 13-Dec-2017
  • Izdevniecība: APress
  • ISBN-10: 1484233387
  • ISBN-13: 9781484233382
Citas grāmatas par šo tēmu:

Discover object-oriented programming with core concepts of C# in this unique tutorial. The book consists of four major sections which cover 15 core topics - nine of them are dedicated to object-oriented programming, five of them are dedicated to advanced concepts of C#, and one of them is dedicated to design patterns, with coverage of three Gang of Four design patterns with C# implementations. Finally, Interactive C# contains an FAQ section to cover all of these topics.

This book uniquely presents a two-way discussion between a teacher and students. So, with this book you will have the feel of learning C# in a classroom environment or with your private tutor. Your teacher will discuss the problems/topics and ask you questions; at the same time, counter questions are provided to clarify points where necessary.

What You Will Learn

  • Become proficient in object-oriented programming
  • Remake yourself as a great C# programmer
  • Test your skills in C# fundamentals
  • Use Visual Studio to write, compile and execute your code
Who This Book Is For

Programmers who want to understand the concepts and implementation of object-oriented programming in C#.

Foreword xxiii
Ambrose Rajendram
Foreword xxv
Siddhartha Ghosh
About the Author xxvii
About the Technical Reviewers xxix
Acknowledgements xxxi
Preface xxxiii
Guidelines for Using the Book xxxvii
Part I Enter into the World of OOP
1(242)
Chapter 1 Object-Oriented Programming Concepts
3(8)
Class and Objects
5(1)
Encapsulation
6(1)
Abstraction
6(1)
Inheritance
7(1)
Polymorphism
7(2)
Summary
9(2)
Chapter 2 The Building Blocks: Class and Objects
11(30)
Class
11(1)
Object
11(4)
Class Demonstrations
15(1)
Demonstration 1
16(3)
Output
17(1)
Additional Comments
17(2)
Demonstration 2
19(8)
Output
20(1)
Analysis
20(1)
Additional Comments
21(2)
Quiz
23(1)
Output
23(1)
Explanation
24(3)
Demonstration 3
27(3)
Output
28(1)
Explanation
28(2)
Demonstration 4
30(1)
Output
31(1)
Additional Comments
31(1)
Demonstration 5
31(2)
Output
32(1)
Object Initializers
33(1)
Demonstration 6
33(2)
Output
34(1)
Analysis
35(1)
Optional Parameters
35(1)
Demonstration 7
36(3)
Output
37(1)
Analysis
37(2)
Summary
39(2)
Chapter 3 The Concept of Inheritance
41(22)
Types
41(3)
Demonstration 1
44(2)
Output
44(1)
Additional Comments
45(1)
Demonstration 2
46(1)
Output
46(1)
Analysis
47(1)
Demonstration 3
47(3)
Demonstration 4
50(2)
Output
51(1)
Explanation
51(1)
A Special Keyword: base
52(1)
Demonstration 5
52(4)
Output
53(1)
Analysis
54(1)
Quiz
55(1)
Output
55(1)
Analysis
56(1)
Demonstration 6
56(2)
Output
57(1)
Demonstration 7
58(4)
Output
59(1)
Analysis
59(3)
Summary
62(1)
Chapter 4 Get Familiar with Polymorphism
63(60)
Method Overloading
63(1)
Demonstration 1
64(3)
Output
65(1)
Analysis
65(1)
Quiz
65(1)
Answer
66(1)
Quiz
66(1)
Answer
66(1)
Demonstration 2
67(1)
Output
68(1)
Analysis
68(1)
Demonstration 3
68(1)
Output
69(1)
Demonstration 4
69(3)
Output
70(1)
Analysis
70(2)
Quiz
72(1)
Demonstration 5
72(2)
A Suggestion/Good Programming Practice
73(1)
Operator Overloading
74(1)
Demonstration 6
75(2)
Output
76(1)
Demonstration 7
77(3)
Output
78(1)
Analysis
79(1)
Method Overriding
80(1)
Demonstration 8
80(3)
Output
81(1)
Analysis
81(2)
Demonstration 9
83(2)
Output
84(1)
Demonstration 10
85(1)
Output
86(1)
Experiment with Polymorphism
86(1)
Demonstration 11
86(3)
Output
88(1)
Analysis
88(1)
Demonstration 12
89(3)
Output
90(1)
Analysis
90(2)
Demonstration 13
92(3)
Output
94(1)
Explanation
94(1)
Demonstration 14
95(1)
Output
95(1)
Demonstration 15
95(2)
Output
96(1)
Demonstration 16
97(1)
Output
97(1)
Quiz
97(1)
Demonstration 17
98(3)
Output
99(1)
Explanation
99(1)
Quiz
100(1)
Answer
100(1)
Quiz
100(1)
Answer
100(1)
Demonstration 18
101(2)
Output
102(1)
Analysis
103(1)
Demonstration 19
103(3)
Output
105(1)
Demonstration 20
106(2)
Output
107(1)
Analysis
107(1)
Demonstration 21
108(2)
Output
109(1)
Analysis
109(1)
Abstract Class
110(1)
Demonstration 22
110(2)
Output
111(1)
Demonstration 23
112(11)
Output
113(1)
Explanation
114(1)
Quiz
115(1)
Answer
115(3)
Quiz
118(1)
Output
119(1)
Quiz
119(1)
Output
120(2)
Summary
122(1)
Chapter 5 Interfaces: An Art in OOP
123(22)
Introduction to Interfaces
123(1)
Demonstration 1
124(2)
Output
125(1)
Analysis
126(1)
Demonstration 2
126(2)
Output
128(1)
Demonstration 3
128(2)
Output
129(1)
Demonstration 4
130(2)
Output
131(1)
Demonstration 5
132(4)
Output
134(1)
Quiz
134(1)
Output
135(1)
Analysis
135(1)
Tag/Tagging/Marker Interface
136(4)
Demonstration 6
140(1)
Output
140(1)
Demonstration 7
141(3)
Output
141(3)
Summary
144(1)
Chapter 6 Encapsulation with Properties and Indexers
145(28)
Overview of Properties
145(1)
Demonstration 1
145(6)
Output
147(1)
Analysis
147(3)
Reduce the Code Size
150(1)
Demonstration 2
151(4)
IL Code
152(3)
Virtual Property
155(1)
Demonstration 3
155(2)
Output
156(1)
Abstract Property
157(3)
Quiz
157(1)
Output
158(1)
Analysis
158(1)
Quiz
158(1)
Output
159(1)
Analysis
159(1)
Indexers
160(1)
Demonstration 4
160(3)
Output
161(1)
Analysis
161(2)
Demonstration 5
163(3)
Output
165(1)
Analysis
166(1)
Interface Indexer
166(1)
Demonstration 6
167(5)
Output
168(1)
Quiz
168(2)
Answer
170(1)
Analysis
170(2)
Summary
172(1)
Chapter 7 Understanding Class Variables
173(14)
Class Variables
173(1)
Demonstration 1
173(5)
Output
174(1)
Analysis
174(4)
Discussions on Static Methods
178(1)
Demonstration 2
178(2)
Output
179(1)
Demonstration 3
180(2)
Output
181(1)
Analysis
182(1)
Discussions on Static Constructors
182(1)
Demonstration 4
183(3)
Output
184(1)
Analysis
184(2)
Summary
186(1)
Chapter 8 Analysis of Some Key Comparisons in C#
187(44)
Implicit Casting vs. Explicit Casting
187(1)
Boxing vs. UnBoxing
188(2)
Demonstration 1
190(1)
Output
191(1)
Analysis
191(1)
Demonstration 2
191(2)
Output
192(1)
Analysis
193(1)
Demonstration 3
193(2)
Analysis
194(1)
Output
194(1)
Upcasting vs. Downcasting
195(1)
Demonstration 4
195(4)
Output
197(1)
Analysis
197(1)
Quiz
198(1)
Output
198(1)
Analysis
198(1)
Is vs. as
199(1)
Demonstration 5 The Use of the "is" Keyword
199(4)
Output
201(1)
Analysis
202(1)
Output
203(1)
Demonstration 6 The Use of the "as" Keyword
203(2)
Output
205(1)
Analysis
205(1)
Passing Value Types by Value vs. Passing Value Types by Reference (with ref vs. out)
205(1)
Demonstration 7 Passing Value Type by Value
206(1)
Output
206(1)
Analysis
207(1)
The ref Parameter vs. the out Parameter
207(1)
Demonstration 8
207(1)
Output
207(1)
Analysis
208(1)
Demonstration 9 The Use of the "out" Parameter
208(3)
Output
209(1)
Analysis
209(1)
Quiz
210(1)
Answer
210(1)
Analysis
210(1)
Demonstration 10 Passing a Reference Type as Value
211(1)
Output
211(1)
Demonstration 11 A Case Study with Array Elements
212(3)
Output
213(1)
Analysis
213(1)
Quiz
214(1)
Output
215(1)
Analysis
215(1)
Demonstration 12 A Method Returning Multiple Values
215(1)
Output
216(1)
A Brief Comparison of C# Types
216(1)
Value Types and Reference Types
217(1)
Demonstration 13 Value Types vs. Reference Types
218(2)
Output
219(1)
Analysis
219(1)
Pointer Types
220(1)
Note
220(1)
Demonstration 14 Pointer Types
221(2)
Output
222(1)
Analysis
222(1)
Const vs. Readonly
223(1)
Demonstration 15 The Use of the "const" Keyword
224(5)
Output
224(1)
Quiz
225(1)
Answer
225(1)
Quiz
225(1)
Answer
225(1)
Quiz
226(1)
Answer
226(1)
Quiz
226(1)
Answer
227(1)
Quiz
227(1)
Answer
227(2)
Summary
229(2)
Chapter 9 A Quick Recap of OOP Principles in C#
231(12)
Quiz
231(1)
Answers
231(3)
Note
234(2)
Demonstration 1 Composition to Handle the Preceding Problem
236(2)
Output
238(1)
Analysis
238(1)
Demonstration 2 An Aggregation Example
238(4)
Output
240(1)
Analysis
241(1)
Note
241(1)
Summary
242(1)
Part II Get Familiar with Some Advanced Concepts
243(130)
Chapter 10 Delegates and Events
245(30)
Introduction to Delegates
245(1)
A Formal Definition
246(1)
Demonstration 1
246(2)
Output
247(1)
Make Your Code Size Short
247(1)
Demonstration 2
248(3)
Output
249(1)
Analysis
250(1)
Quiz
250(1)
Answer
251(1)
Multicast Delegates/Chaining Delegates
251(1)
Demonstration 3
251(4)
Output
252(1)
Quiz
253(1)
Output
254(1)
Analysis
254(1)
Covariance and Contravariance in Delegates
255(1)
Covariance in Delegates/Method Group Variance
256(1)
Demonstration 4
256(2)
Output
257(1)
Analysis
257(1)
Contravariance in Delegates
257(1)
Demonstration 5
258(2)
Output
259(1)
Analysis
259(1)
Events
260(2)
Steps to Implement a Simple Event in C#
261(1)
Demonstration 6
262(2)
Output
263(1)
Passing Data with Event Arguments
264(1)
Demonstration 7
265(2)
Output
267(1)
Analysis
267(1)
Event Accessors
267(3)
Demonstration 8
270(4)
Output
273(1)
Summary
274(1)
Chapter 11 Flexibilities with Anonymous Functions
275(10)
Anonymous Methods and Lamda Expressions
275(1)
Demonstration 1
276(3)
Output
277(1)
Analysis
277(2)
Func, Action, and Predicate Delegates
279(3)
Func Delegates
279(2)
Action Delegates
281(1)
Predicate Delegates
281(1)
Demonstration 2
282(2)
Output
283(1)
Summary
284(1)
Chapter 12 Generics
285(28)
Comparison between Generic and Non-Generic Programs
285(1)
Demonstration 1 A Non-Generic Program
285(2)
Output
286(1)
Demonstration 2 A Generic Program
287(3)
Output
288(1)
Analysis
288(1)
Further Analysis
289(1)
Note
289(1)
Demonstration 3
290(1)
Output
290(1)
Analysis
291(1)
Demonstration 4
291(2)
Output
292(1)
Analysis
292(1)
Demonstration 5 Exercise on Self-Referenced Generic Types
293(2)
Output
295(1)
Analysis
295(1)
A Special Keyword Default
295(1)
Demonstration 6
295(1)
Output
296(1)
Analysis
296(1)
Demonstration 7 Assignment
296(3)
Output
299(1)
Generic Constraints
299(1)
Demonstration 8
299(4)
Output
301(1)
Note
302(1)
Quiz
303(1)
Answer
303(1)
Covariance and Contravariance
303(4)
Demonstration 9 Covariance with Generic Interfaces
307(2)
Output
309(1)
Analysis
309(1)
Demonstration 10 Contravariance with Generic Delegates
309(3)
Output
311(1)
Analysis
311(1)
Summary
312(1)
Chapter 13 Exception Handling
313(28)
Discussions on Exception Handling
313(1)
Definition
313(1)
Demonstration 1
314(2)
Output
315(1)
Demonstration 2
316(5)
Output
317(1)
Analysis
317(4)
Demonstration 3
321(4)
Output
324(1)
Analysis
325(1)
Quiz
325(1)
Demonstration 4
325(5)
Output
326(1)
Analysis
326(1)
Other Variations of the catch Clause
327(1)
Quiz
327(1)
Answer
328(1)
Quiz
328(1)
Answer
328(1)
Explanation
328(2)
Demonstration 5
330(2)
Output
331(1)
Demonstration 6
332(3)
Output
334(1)
Analysis
334(1)
Creating a Custom Exception
335(1)
Demonstration 7
336(3)
Output
338(1)
Analysis
338(1)
Summary
339(2)
Chapter 14 Memory Cleanup
341(32)
How the Garbage Collector Works
342(1)
Three Phases of Garbage Collection
342(1)
Three Cases to invoke the Garbage Collector
343(1)
Demonstration 1
343(8)
Output
347(1)
Analysis
347(4)
Memory Leak Analysis
351(1)
Demonstration 2
352(3)
Snapshots from Diagnostic Tool
354(1)
Demonstration 3
355(8)
Snapshots from CLR Profiler
357(1)
Analysis
357(2)
Let us modify the program
359(2)
Analysis
361(2)
Demonstration 4
363(2)
Output
364(1)
Demonstration 5
365(1)
Output
366(1)
Demonstration 6
366(5)
Output
367(1)
Quiz
368(2)
Output
370(1)
Quiz
370(1)
Answer
370(1)
Analysis
370(1)
Summary
371(2)
Part III Become a Hero in the Real World
373(36)
Chapter 15 An Introduction to Design Patterns
375(32)
Introduction
375(1)
Key Points
376(3)
Singleton Pattern
379(8)
GoF Definition
379(1)
Concept
379(1)
A Real-life Example
379(1)
A Computer-World Example
379(1)
Illustration
379(1)
Class Diagram
380(1)
Solution Explorer View
380(1)
Discussion
381(1)
Implementation
381(2)
Challenges
383(1)
Q&A Session
384(3)
Adapter Pattern
387(13)
GoF Definition
387(1)
Concept
387(1)
A Real-Life Example
387(1)
A Computer-World Example
388(1)
Illustration
388(1)
Class Diagram
389(1)
Directed Graph Document
389(1)
Solution Explorer View
390(1)
Implementation
390(4)
Solution Explorer View
394(1)
Implementation
394(5)
Q&A Session
399(1)
Visitor Pattern
400(6)
GoF Definition
400(1)
Concept
400(1)
A Real-Life Example
400(1)
A Computer-World Example
400(1)
Illustration
401(1)
Class Diagram
402(1)
Solution Explorer View
403(1)
Implementation
403(2)
Q&A Session
405(1)
Summary
406(1)
Chapter 16 Winning Notes and the Road Ahead
407(2)
Appendix A Collect the Raw Materials
409(72)
Fundamentals
409(7)
Theory
409(7)
Selection Statements
416(7)
Types of Selection
416(1)
An Example of if-else
416(2)
An Example of switch Statements
418(5)
Iteration Statements
423(8)
Demonstration
424(1)
Demonstration
425(6)
Jump Statements
431(4)
Demonstration
431(4)
Miscellaneous
435(2)
Strings
437(12)
Questions/Answers with code segments
437(12)
Arrays
449(11)
Single Dimensional Arrays
449(1)
Demonstration
449(2)
Demonstration
451(2)
Demonstration
453(7)
Enumerations
460(11)
Demonstration
460(2)
Demonstration
462(4)
Demonstration
466(5)
Structures
471(10)
Demonstration
471(1)
Demonstration
472(9)
Appendix B FAQ
481(6)
Appendix C References
487(2)
Index 489
Vaskaran Sarcar (ME (Software Engineering), MCA, B Sc. (Math)) is a Senior Software Engineer and Team Lead at HP India PPS R&D Hub Bangalore. He is the author of the books-Java Design Patterns, Interactive Object Oriented Programming in Java, Design Patterns in C#, Operating System: Computer Science Interview Series and C# Basics He has more than 10 years of teaching and Industry experience. He is also national Gate scholar(2005-2007). Reading and learning new things are passion for him.