Muutke küpsiste eelistusi

C# Programming for Absolute Beginners 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 356 pages, kõrgus x laius: 254x178 mm, kaal: 7264 g, 93 Illustrations, color; 90 Illustrations, black and white; XXIX, 356 p. 183 illus., 93 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 04-Dec-2017
  • Kirjastus: APress
  • ISBN-10: 1484233174
  • ISBN-13: 9781484233177
  • Pehme köide
  • Hind: 50,49 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 356 pages, kõrgus x laius: 254x178 mm, kaal: 7264 g, 93 Illustrations, color; 90 Illustrations, black and white; XXIX, 356 p. 183 illus., 93 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 04-Dec-2017
  • Kirjastus: APress
  • ISBN-10: 1484233174
  • ISBN-13: 9781484233177
Get started using the C# programming language. Based on the author’s 15 years of experience teaching beginners, the book provides you with a step-by-step introduction to the principles of programming, or rather, how to think like a programmer. The task-solution approach will get you immersed, with minimum theory and maximum action.

What You Will Learn
  • Understand what programming is all about
  • Write simple, but non-trivial, programs
  • Become familiar with basic programming constructs such as statements, types, variables, conditions, and loops
  • Learn to think like a programmer and combine these programming constructs in new ways
  • Get to know C# as a modern, mainstream programming language, and Visual Studio as one of the world’s most popular programming tools
Who This Book Is For

Those with very little or no experience in computer programming, who know how to use a computer, install a program, and navigate the web.

About the Author xxv
About the Technical Reviewers xxvii
Acknowledgments xxix
Chapter 1 Getting Ready
1(8)
C# Language
1(1)
Who This Book For
2(1)
How the Book Differs from Others
2(1)
How to Work with the Book
3(1)
What to Install on Your Computer
4(1)
Development Environment
4(1)
Visual Studio
4(1)
Windows Versions
5(1)
Non-Windows Operating Systems
6(1)
Installation
6(2)
Free Registration
8(1)
Summary
8(1)
Part I Data
9(84)
Chapter 2 Your First Program
11(20)
Seeing It in Action
11(1)
Creating the Project
11(1)
Launching Visual Studio
12(1)
Working with the New Project Dialog
13(1)
Writing the Program Code
14(1)
The Look of the Development Environment
14(1)
Knowing Where to Write Statements
15(1)
Writing the Code
16(1)
Understanding Your First Statements
17(1)
Using IntelliSense
18(1)
Saving the Project
18(1)
Launching Your Program
19(1)
Note
20(1)
Changing Text Size
20(1)
Dealing with Errors
21(2)
Finishing Your Work
23(1)
Restoring Your Work
23(2)
Transferring Your Work
25(1)
Transferring the Project
25(1)
Transferring the Program to Others
26(1)
Using Solution Explorer
26(2)
Summary
28(3)
Chapter 3 Dealing with Output
31(14)
Producing Numeric Output
31(1)
Task
31(1)
Solution
32(1)
Discussion
33(1)
Making Calculations
33(1)
Task
34(1)
Solution
34(1)
Making More Complex Calculations
35(1)
Task
35(1)
Solution
35(1)
Discussion
36(1)
Joining Text
36(1)
Task
37(1)
Solution
37(1)
Outputting Special Characters
38(1)
Task
38(1)
Solution
38(1)
Discussion
39(1)
Using Preformatted Text
40(1)
Task
40(1)
Solution
40(1)
Adding 1 and 1
41(1)
Task
41(1)
Solution
42(1)
Discussion
42(1)
Summary
43(2)
Chapter 4 Using Variables
45(12)
Storing Text
45(1)
Task
45(1)
Solution
45(1)
Discussion
46(1)
Storing Numbers
47(1)
Task
47(1)
Solution
47(1)
Adding 1 and 1
47(1)
Task
48(1)
Solution
48(1)
Discussion
49(1)
Doing Calculations with Variables
49(1)
Task
49(1)
Solution
49(1)
Discussion
50(1)
Assembling a Grand Combination
50(1)
Task
50(1)
Solution
51(1)
Discussion
51(1)
Working with Decimal Numbers
52(1)
Task
52(1)
Solution
52(1)
Discussion
53(1)
Working with Logical Values
53(1)
Task
53(1)
Solution
54(1)
Discussion
54(1)
Summary
54(3)
Chapter 5 Working with Objects
57(12)
What Time Is It?
57(1)
Task
57(1)
Solution
58(1)
What Date Is It Today?
58(1)
Task
58(1)
Solution
59(1)
Working with Date Components
60(1)
Task
60(1)
Solution
60(1)
Using Namespaces
61(1)
Important using
62(2)
Namespaces
64(1)
Without usings
64(2)
Using the Environment Object
66(1)
Task
66(1)
Solution
66(1)
Summary
67(2)
Chapter 6 Using Object Actions
69(12)
Displaying the Month in Text
69(1)
Task
69(1)
Solution
70(1)
Discussion
70(1)
Displaying Tomorrow
70(1)
Task
71(1)
Solution
71(1)
Displaying a Specific Date
72(1)
Task
72(1)
Solution
72(1)
Rolling a Single Die
73(1)
Task
73(1)
Solution
73(1)
Note
74(1)
Rolling Two Dice
74(1)
Task
74(1)
Solution
75(1)
Getting the Path to the Desktop
76(1)
Task
77(1)
Solution
77(1)
Enumeration
77(1)
Summary
78(3)
Chapter 7 More About Objects
81(12)
Text As an Object
81(1)
Task
82(1)
Solution
82(1)
Discussion
83(1)
Numbers as Objects
83(1)
Task
83(1)
Solution
84(1)
Discussion
84(1)
Formatting Numbers
85(1)
Task
85(1)
Solution
86(1)
Localized Output
86(1)
Task
87(1)
Solution
88(1)
Concluding Notes
89(1)
Static Objects
89(1)
Classes
90(1)
Relation Between Class and Object
90(1)
Special Classes
91(1)
Structures
91(1)
Summary
92(1)
Part II Calculations
93(84)
Chapter 8 Input
95(14)
Text Input
95(1)
Task
95(1)
Solution
96(1)
Better Input
96(1)
Task
96(1)
Solution
97(1)
Discussion
97(1)
Numeric Input
97(1)
Task
98(1)
Solution
98(1)
Discussion
99(1)
Calculation with Entered Number
99(1)
Task
99(1)
Solution
99(1)
Ten More
100(1)
Task
100(1)
Solution
101(1)
Addition
101(1)
Task
102(1)
Solution
102(1)
Incorrect Input
103(1)
Task
103(1)
Solution
103(2)
What Happened
105(1)
Interior of the catch Part
105(1)
Complete Solution
105(1)
Testing
106(1)
Explanation
106(1)
Summary
106(3)
Chapter 9 Numbers
109(12)
Decimal Input
109(1)
Task
109(1)
Solution
110(1)
Localized Numeric Input
110(1)
Task
111(1)
Solution
111(1)
Testing and Conclusions
112(2)
Basic Arithmetic
114(1)
Task
114(1)
Solution
114(1)
Mathematical Functions
115(1)
Task
115(1)
Solution
116(1)
Discussion
116(1)
Integer Division
117(1)
Task
118(1)
Solution
118(1)
Discussion
119(1)
Summary
119(2)
Chapter 10 Economic Calculations
121(16)
Currency Conversion
121(1)
Task
121(1)
Solution
122(1)
Total Price
122(1)
Task
122(1)
Solution
123(1)
Discussion
124(1)
Commissions
124(1)
Task
124(1)
Solution
125(1)
Discussion
126(1)
Rounding
127(1)
Task
128(1)
Solution
128(2)
Further Rounding
130(1)
Task
130(1)
Solution
131(2)
Value-Added Tax
133(1)
Task
133(1)
Analysis
134(1)
Solution
134(1)
Summary
135(2)
Chapter 11 Calculations with Dates
137(12)
Date Input
137(1)
Task
137(1)
Solution
138(1)
Discussion
139(1)
Single Month
139(1)
Task
139(1)
Solution
139(1)
Discussion
140(1)
Quarter
141(1)
Task
141(1)
Analysis
141(2)
Solution
143(1)
Date Difference
143(1)
Task
144(1)
Solution
144(1)
Time Zones and UTC
145(1)
Task
145(1)
Solution
146(1)
Summary
146(3)
Chapter 12 Understanding Different Kinds of Numbers
149(16)
More Numeric Types
149(1)
Task
150(1)
Solution
150(2)
Discussion
152(1)
Memory Consumption
153(1)
Task
154(1)
Solution
155(1)
Connections
156(1)
Discussion
156(1)
Overflow
156(1)
Task
157(1)
Solution
157(1)
Discussion
158(1)
Dealing with Overflow
158(1)
Task
158(1)
Solution
159(1)
Settings in Visual Studio
160(2)
Results
162(1)
Summary
163(2)
Chapter 13 Accumulating Values
165(12)
Ten More, Revisited
165(1)
Task
166(1)
Solution
166(1)
Discussion
166(1)
Compound Assignment
167(1)
Task
167(1)
Solution
167(1)
Further Compound Assignments
168(1)
Task
168(1)
Solution
168(1)
Incrementing and Decrementing
169(1)
Task
169(1)
Solution
170(1)
Compound Assignment and Text
170(1)
Task
171(1)
Solution
171(1)
Progressive Summation
172(1)
Task
172(1)
Solution
172(1)
Multiple Text Join
173(1)
Task
174(1)
Solution
175(1)
Summary
176(1)
Part III Conditionals
177(98)
Chapter 14 Essential Tools
179(20)
IntelliSense
179(1)
Exploring the Possibilities
179(1)
Examples
180(3)
Note
183(1)
Keyboard Shortcuts
184(1)
Documentation
184(1)
MSDN Portal
185(1)
Search
185(2)
Specific Class Page
187(2)
Common Search
189(1)
Debugging Tools
190(1)
Project
190(1)
Stepping Through the Code
190(2)
Breakpoints
192(1)
Memory Inspection
193(2)
C# Interactive
195(1)
What Is It?
196(1)
How to Launch It?
196(1)
Notes
197(1)
Summary
198(1)
Chapter 15 Getting Started with Conditions
199(20)
Password Input
199(1)
Task
199(1)
Analysis
200(2)
Solution
202(1)
Discussion
203(1)
Reversed Condition
203(1)
Task
203(1)
Solution
203(1)
Discussion
204(1)
Length Check
204(1)
Task
204(1)
Solution
205(1)
Positive Numbers
206(1)
Task
206(1)
Solution
207(2)
Odd and Even Numbers
209(1)
Task
209(1)
Solution
210(1)
Case Indifference
210(1)
Task
211(1)
Solution
212(1)
Without Braces
212(1)
Task
213(1)
Solution
213(1)
Greater of Two Numbers
213(1)
Task
214(1)
Solution
214(1)
Without the else Branch
215(1)
Task
215(1)
Solution
215(1)
Using a Built-in Function
216(1)
Task
216(1)
Solution
217(1)
Summary
217(2)
Chapter 16 Practical Conditions
219(14)
Appending Extension
219(1)
Task
219(1)
Solution
220(1)
Discussion
220(2)
Head and Tail
222(1)
Task
222(1)
Solution
222(1)
Deadline Check
223(1)
Task
223(1)
Solution
224(1)
Invoice Date Check
225(1)
Task
225(1)
Solution
226(1)
Spanish Day of Week
227(1)
Task
227(1)
Solution
228(2)
Switch Statement
230(1)
Task
230(1)
Solution
230(2)
Summary
232(1)
Chapter 17 Compound Conditions
233(14)
Yes or No
233(1)
Task
233(1)
Solution
234(1)
Discussion
235(1)
Username and Password
235(1)
Task
236(1)
Solution
236(1)
Discussion
237(1)
Two Users
238(1)
Task
238(1)
Solution
238(1)
Discussion
239(1)
Precalculation of Conditions
239(1)
Task
239(1)
Solution
240(1)
Discussion
241(1)
Yes or No Reversed
241(1)
Task
241(1)
Solution
241(1)
Discussion
242(1)
Grade Check
242(1)
Task
242(1)
Solution
243(1)
Better Range Check
244(1)
Task
244(1)
Solution
244(1)
Summary
245(2)
Chapter 18 Multiple Conditions
247(16)
Soccer
247(1)
Task
247(2)
Analysis
249(1)
Solution
250(1)
Soccer Alternatively
251(1)
Analysis
251(1)
Solution
252(1)
Minimum of Three Numbers
253(1)
Task
253(1)
Analysis
254(1)
Solution
254(1)
Minimum with Built-in Function
255(1)
Solution
255(1)
Linear Equation
256(1)
Task
256(1)
Analysis
257(1)
Solution
258(1)
Quadratic Equation
259(1)
Task
259(1)
Analysis
259(1)
Solution
260(1)
Discussion
261(1)
Summary
262(1)
Chapter 19 Advanced Conditions
263(12)
Conditional Operator
263(1)
Task
263(1)
Solution
264(1)
Discussion
264(1)
Summary Evaluation
265(1)
Task
265(1)
Details
265(1)
Solution
266(3)
Discussion
269(1)
Second Character Test
270(1)
Task
270(1)
Solution
271(1)
Discussion
272(1)
Summary
273(2)
Part IV Loops
275(78)
Chapter 20 First Loops
277(12)
Repeating the Same Text
277(1)
Task
277(1)
Solution
278(1)
Solution Using a Loop
279(1)
Solution
279(1)
How the for Loop Works
279(2)
The Loop
281(1)
Explore It Yourself
281(1)
Tip
281(1)
Choosing the Number of Repetitions
281(1)
Task
281(1)
Solution
282(1)
Discussion
283(1)
Throwing a Die Repeatedly
283(1)
Task
283(1)
Solution
283(1)
Repeating Similar Lines
284(1)
Task
284(1)
Solution Without a Loop
285(1)
Solution Using a Loop
285(1)
Discussion
286(1)
Summary
286(3)
Chapter 21 Improving Loops
289(10)
Choosing Text
289(1)
Task
289(1)
Solution
290(1)
Alternating Loop
290(1)
Task
290(1)
First Solution
291(1)
Second Solution
292(1)
Third Solution
293(1)
Rock-Scissors-Paper
294(1)
Task
294(1)
Solution
295(2)
Discussion
297(1)
Summary
297(2)
Chapter 22 Number Series
299(14)
Every Other
299(1)
Task
299(1)
Solution
300(1)
Discussion
300(1)
Alternative Solution
300(1)
Descending Series
301(1)
Task
301(1)
Solution
302(1)
Discussion
302(1)
Decimal Numbers
302(1)
Task
302(1)
Seemingly Correct Solution
303(1)
Testing
304(1)
The Cause of the Error
305(1)
Correct Solution
305(1)
Second Powers
306(1)
Task
306(1)
Solution
307(1)
Two in a Row
308(1)
Task
308(1)
Solution
309(1)
Two Independent Series
309(1)
Task
310(1)
Solution
311(1)
Discussion
311(1)
Summary
312(1)
Chapter 23 Unknown Number of Repetitions
313(12)
Entering a Password
313(1)
Task
313(1)
Solution
314(1)
do-while Construction
315(1)
This Case
315(1)
Variable Outside of the Loop
315(1)
Tip
315(1)
Waiting for Descend
315(1)
Task
316(1)
Solution
316(1)
Discussion
317(1)
Every Week Until the End of Year
317(1)
Task
317(1)
Solution
318(1)
As Long As a 6 Is Being Thrown
319(1)
Task
319(1)
Solution
320(1)
Until Second 6
320(1)
Task
320(1)
Solution
321(1)
Until Two 6s in a Row
322(1)
Task
322(1)
Solution
323(1)
Summary
324(1)
Chapter 24 Accumulating Intermediate Results
325(12)
Sum of the Entered Numbers
325(1)
Task
325(1)
Solution
326(1)
Product of the Entered Numbers
327(1)
Task
327(1)
Solution
327(1)
Discussion
328(1)
The Greatest
329(1)
Task
329(1)
Solution
329(1)
The Second Greatest
330(1)
Task
330(1)
Solution
331(2)
Output of All Entered Names
333(1)
Task
333(1)
Solution
333(2)
Discussion
335(1)
Summary
335(2)
Chapter 25 Advanced Loops
337(16)
Thank God It's Friday (TGIF)
337(1)
Task
337(1)
Solution
338(1)
Discussion
338(1)
Power
339(1)
Task
339(1)
Solution
340(1)
Sine
341(1)
Task
341(1)
Analysis
341(2)
Solution
343(1)
Enhancement
344(1)
Moon Landing
344(1)
Task
345(1)
Physical Model
346(1)
Solution
347(2)
Summary
349(1)
Personal Notes
350(1)
Dice
350(1)
The Sine Task
350(1)
Moon Landing
350(1)
Concluding Wish
351(2)
Index 353
Radek Vystavel started programming at a young age and has been doing it ever since, as well as sharing it with others. Greatly inspired by Lev Landau and Richard Feynman, Radek has been influenced by their desire to always search for what is the most fundamental in any given situation, and by their courage to be different. Having worked as both a programming teacher in college and privately, and as a programmer, Radek started writing books on programming because many of his students had no previous knowledge of programming and he had difficulty finding a suitable textbook for them. During the years he has gained a unique insight into what is important when teaching beginners.