Muutke küpsiste eelistusi

E-raamat: Begin to Code with C#

  • Formaat: 496 pages
  • Ilmumisaeg: 31-Aug-2016
  • Kirjastus: Microsoft Press
  • Keel: eng
  • ISBN-13: 9781509301171
  • Formaat - EPUB+DRM
  • Hind: 23,39 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 496 pages
  • Ilmumisaeg: 31-Aug-2016
  • Kirjastus: Microsoft Press
  • Keel: eng
  • ISBN-13: 9781509301171

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

This full-color book will inspire you to start solving problems and creating programs with code, even if you have absolutely no programming experience. It's not just friendly and easy: it's the first beginner's guide that puts you in control of your own learning, and empowers you to build unique programs to solve problems you care about.

 

Microsoft has completely reinvented the beginning programmer's tutorial, reflecting deep research into how today's beginners learn, and why other books fall short.Begin to Code with C# is packed with innovations, starting with its "Snaps" library of pre-built operations that are easy to combine your own unique programs. It's full of "Make Something Happen" projects that let you practice and build your skills as you create your own programs - not programs someone else has typed out and handed you.


Begin to Code with C# balances playful exposition and illustration of programming fundamentals with your own creative input - and you'll never be more than a page or two away from making something unique and personal to you. It will help you…

  • Understand the basics of coding and how to make your programs work on any computer or device
  • Discover how C# works using the Visual Studio environment
  • Delve into basic concepts such as strings, operators, properties, methods, and events
  • Figure out how to test and debug your code with "What can go wrong" sections
  • Publish your own apps that work on a variety of device platforms, including Android, iOS, and Windows

Whether you're a total beginner or you've tried before, Begin to Code with C# will put the power, excitement, and creativity of programming where it belongs: in your hands!

Introduction xvi
Part 1: Programming fundamentals
1 Starting out
2(16)
Building a place to work
4(1)
Getting the tools and demos
4(1)
Using the tools
5(10)
Visual Studio projects and solutions
6(1)
Running a program with Visual Studio
7(3)
Stopping a program running in Visual Studio
10(1)
The MyProgram application
11(4)
What you have learned
15(3)
2 What is programming?
18(24)
What makes a programmer?
20(3)
Programming and party planning
20(1)
Programming and problems
21(1)
Programmers and people
22(1)
Computers as data processors
23(12)
Machines and computers and us
23(3)
Making programs work
26(1)
Programs as data processors
27(8)
Data and information
35(4)
What you have learned
39(3)
3 Writing programs
42(26)
C# program structure
44(6)
Identify resources
44(1)
Start a class definition
45(1)
Declare the StartProgram method
46(1)
Set the title and display a message
47(3)
Extra Snaps
50(2)
SpeakString
50(2)
Creating new program files
52(9)
Extra Snaps
61(2)
Delay
61(1)
SetTextColor
61(1)
SetTitleColor
62(1)
SetBackgroundColor
63(1)
Creating your own colors
63(3)
What you have learned
66(2)
4 Working with data in a program
68(32)
Starting with variables
70(4)
Variables and computer storage
71(1)
Declaring a variable
71(2)
Simple assignment statements
73(1)
Using a variable in a program
74(6)
Assigning values in a declaration
76(1)
Adding strings together
77(3)
Working with numbers
80(5)
Whole numbers and real numbers
80(3)
Performing calculations
83(2)
Working with different types of data
85(4)
Converting numbers into text
86(3)
Whole numbers and real numbers in programs
89(6)
Variable types and expressions
89(2)
Precision and accuracy
91(1)
Converting types by casting
92(1)
Using casting on operands in an expression
93(1)
Types and errors
94(1)
Extra Snaps
95(2)
Weather snaps
95(1)
ThrowDice
96(1)
What you have learned
97(3)
5 Making decisions in a program
100(34)
Understanding the Boolean type
102(2)
Declaring a Boolean variable
102(1)
Boolean expressions
103(1)
Using if constructions and operators
104(6)
Relational operators
106(1)
Equality operators
107(2)
Comparing strings
109(1)
Creating blocks of statements
110(3)
Local variables in blocks of code
111(2)
Creating complex conditions using logical operators
113(4)
Working with logic
116(1)
Adding comments to make a program clearer
117(2)
Funfair rides and programs
119(8)
Reading in numbers
122(2)
Building logic using if conditions
124(1)
Completing the program
125(2)
Working with program assets
127(5)
Asset management in Visual Studio
127(1)
Playing sound assets
128(1)
Displaying image content
129(3)
What you have learned
132(2)
6 Repeating actions with loops
134(38)
Using a loop to make a pizza picker
136(13)
Counting selections
136(3)
Displaying the totals
139(1)
Getting user options
139(3)
Adding a while loop
142(7)
Performing input validation with a while loop
149(2)
Using Visual Studio to follow the execution of your programs
151(6)
Counting in a loop to make a times-table tutor
157(3)
Using a for loop construction
160(3)
Breaking out of loops
163(2)
Going back to the top of a loop by using continue
165(3)
Extra Snaps
168(2)
Voice input
168(1)
Secret data entry
169(1)
What you have learned
170(2)
7 Using arrays
172(40)
Have an ice cream
174(2)
Storing the data in single variables
175(1)
Making an array
176(23)
Using an index
177(2)
Working with arrays
179(5)
Displaying the contents of the array by using a for loop
184(2)
Displaying a user menu
186(1)
Sorting an array using the Bubble Sort
187(7)
Finding the highest and lowest sales values
194(2)
Working out the total and the average sales
196(2)
Completing the program
198(1)
Multiple dimensions in arrays
199(7)
Using nested for loops to work with two-dimensional arrays
201(2)
Making test versions of programs
203(1)
Finding the length of an array dimension
204(2)
Using arrays as lookup tables
206(2)
What you have learned
208(4)
Part 2: Advanced programming
8 Using methods to simplify programs
212(34)
What makes a method?
214(10)
Adding a method to a class
215(2)
Feeding information to methods by using parameters
217(5)
Returning values from method calls
222(2)
Making a tiny contacts app
224(17)
Reading in contact details
227(1)
Storing contact information
228(1)
Using Windows local storage
229(2)
Using reference parameters to deliver results from a method call
231(6)
Displaying the contact details
237(4)
Adding IntelliSense comments to your methods
241(2)
What you have learned
243(3)
9 Creating structured data types
246(42)
Storing music notes by using a structure
248(15)
Creating and declaring a structure
250(2)
Creating arrays of structure values
252(1)
Structures and methods
253(3)
Constructing structure values
256(4)
Making a music recorder
260(2)
Creating preset arrays
262(1)
Objects and responsibilities: Making a SongNote play itself
263(1)
Protecting values held in a structure
264(3)
Making a drawing program with Snaps
267(11)
Drawing dots on the screen
268(1)
Using the DrawDot Snap to draw a dot on the screen
269(1)
The SnapsCoordinate structure
270(2)
Using the GetDraggedCoordinate Snap to detect a drawing position
272(2)
Using the SetDrawingColor Snap to set the drawing color
274(2)
Using the ClearGraphics Snap to clear the screen
276(1)
The SnapsColor structure
277(1)
Creating enumerated types
278(2)
Making decisions with the switch construction
280(2)
Extra Snaps
282(3)
GetTappedCoordinate
282(1)
DrawLine
283(1)
GetScreenSize
284(1)
PickImage
285(1)
What you have learned
285(3)
10 Classes and references
288(48)
Making a time tracker
290(16)
Creating a structure to hold contact information
290(2)
Using the this reference when working with objects
292(2)
Managing lots of contacts
294(2)
Making test data
296(1)
Designing the Time Tracker user interface
297(1)
Structuring the Time Tracker program
298(1)
Creating a new contact
299(1)
Finding customer details
300(2)
Adding minutes to a contact
302(2)
Display a summary
304(2)
Structures and classes
306(13)
Sorting and structures
306(1)
Sorting and references
307(1)
Reference and value types
308(3)
References and assignments
311(5)
Classes and constructors
316(1)
Arrays of class references
317(2)
From arrays to lists
319(4)
Working through lists of data
321(1)
Lists and the index value
322(1)
Lists of structures
322(1)
Storing data using JSON
323(6)
The Newtonsoft JSON library
324(2)
Storing and recovering lists
326(3)
Fetching data using XML
329(5)
What you have learned
334(2)
11 Making solutions with objects
336(38)
Creating objects with integrity
338(8)
Protecting data held inside an object
338(3)
Providing Get and Set methods for private data
341(2)
Providing methods that reflect the use of an object
343(3)
Using properties to manage access to data
346(5)
Using properties to enforce business rules
349(2)
Managing the object construction process
351(5)
Catching and dealing with exceptions
353(2)
Creating user-friendly applications
355(1)
Saving drawings in files
356(12)
SaveGraphicsImageToFileAsPNG
357(1)
SaveGraphicsImageToLocalStoreAsPNG
358(1)
LoadGraphicsPNGImageFromLocal Store
358(1)
The DateTime structure
359(1)
Getting the current date and time
360(1)
Fading date and time displays
360(1)
Using the date and time to make a file name
361(1)
Creating a Drawing class
362(2)
Creating a list of drawings
364(1)
Making the drawing diary methods
365(3)
What you have learned
368(6)
Part 3: Making games
12 What makes a game?
374(20)
Creating a video game
376(16)
Games and game engines
376(2)
Games and sprites
378(14)
What you have learned
392(2)
13 Creating gameplay
394(22)
Creating a player-controlled paddle
396(5)
Adding sound to games
401(2)
Displaying text in a game
403(11)
Making a complete game
408(6)
What you have learned
414(2)
14 Games and object hierarchies
416(30)
Games and objects: Space Rockets in Space
418(22)
Constructing a star sprite that moves
419(8)
Allowing methods to be overridden
427(1)
Creating a moving star field
428(2)
Creating a rocket based on a MovingSprite
430(2)
Adding some aliens
432(8)
Designing a class hierarchy
440(3)
What you have learned
443(3)
15 Games and software components
446(28)
Games and objects
448(23)
Creating cooperating objects
448(8)
Objects and state
456(9)
Interfaces and components
465(6)
What you have learned
471(3)
Index 474
Rob Miles has spent more than thirty years teaching programming at the University of Hull in the United Kingdom. Hes a Microsoft MVP, with a passion for programming, C#, and creating new things. If he had any spare time, hed spend it writing even more code. He loves making programs and then running them to see what happens. He reckons that programming is the most creative thing you can learn how to do. He also reckons that in a battle between us and the Martians, wed win, because weve got Visual Studio and they dontand there isnt anything better in the universe for building software.

He claims to know a lot of really good jokes, but nobody has ever heard him tell one. If you want an insight into the Wacky WorldTM of Rob Miles, you can read his blog at www.robmiles.com and follow him on Twitter via @RobMiles.