Research Catalog

Begin to code with C♯

Title
Begin to code with C♯ / Rob Miles.
Author
Miles, Rob S.
Publication
  • Redmond, Washington : Microsoft Press, [2016]
  • ©2016

Items in the Library & Off-site

Filter by

1 Item

StatusFormatAccessCall NumberItem Location
Book/TextRequest in advance QA76.73.C154 M55 2016Off-site

Holdings

Details

Alternative Title
Begin to code with C-Sharp
Subject
  • Microsoft .NET Framework
  • C# (Computer program language)
  • Relational databases
  • Application software > Development
  • Internet programming
Note
  • Includes index.
Bibliography (note)
  • Includes index.
Contents
1.Starting out -- Building a place to work -- Getting the tools and demos -- Using the tools -- Visual Studio projects and solutions -- Running a program with Visual Studio -- Stopping a program running in Visual Studio -- The MyProgram application -- What you have learned -- 2.What is programming? -- What makes a programmer? -- Programming and party planning -- Programming and problems -- Programmers and people -- Computers as data processors -- Machines and computers and us -- Making programs work -- Programs as data processors -- Data and information -- What you have learned -- 3.Writing programs -- C# program structure -- Identify resources -- Start a class definition -- Declare the StartProgram method -- Set the title and display a message -- Extra Snaps -- SpeakString -- Creating new program files -- Extra Snaps -- Delay -- SetTextColor -- SetTitleColor -- SetBackgroundColor -- Creating your own colors -- What you have learned -- 4.Working with data in a program -- Starting with variables -- Variables and computer storage -- Declaring a variable -- Simple assignment statements -- Using a variable in a program -- Assigning values in a declaration -- Adding strings together -- Working with numbers -- Whole numbers and real numbers -- Performing calculations -- Working with different types of data -- Converting numbers into text -- Whole numbers and real numbers in programs -- Variable types and expressions -- Precision and accuracy -- Converting types by casting -- Using casting on operands in an expression -- Types and errors -- Extra Snaps -- Weather snaps -- ThrowDice -- What you have learned -- 5.Making decisions in a program -- Understanding the Boolean type -- Declaring a Boolean variable -- Boolean expressions -- Using if constructions and operators -- Relational operators -- Equality operators -- Comparing strings -- Creating blocks of statements -- Local variables in blocks of code -- Creating complex conditions using logical operators -- Working with logic -- Adding comments to make a program clearer -- Funfair rides and programs -- Reading in numbers -- Building logic using if conditions -- Completing the program -- Working with program assets -- Asset management in Visual Studio -- Playing sound assets -- Displaying image content -- What you have learned -- 6.Repeating actions with loops -- Using a loop to make a pizza picker -- Counting selections -- Displaying the totals -- Getting user options -- Adding a while loop -- Performing input validation with a while loop -- Using Visual Studio to follow the execution of your programs -- Counting in a loop to make a times-table tutor -- Using a for loop construction -- Breaking out of loops -- Going back to the top of a loop by using continue -- Extra Snaps -- Voice input -- Secret data entry -- What you have learned -- 7.Using arrays -- Have an ice cream -- Storing the data in single variables -- Making an array -- Using an index -- Working with arrays -- Displaying the contents of the array by using a for loop -- Displaying a user menu -- Sorting an array using the Bubble Sort -- Finding the highest and lowest sales values -- Working out the total and the average sales -- Completing the program -- Multiple dimensions in arrays -- Using nested for loops to work with two-dimensional arrays -- Making test versions of programs -- Finding the length of an array dimension -- Using arrays as lookup tables -- What you have learned -- 8.Using methods to simplify programs -- What makes a method? -- Adding a method to a class -- Feeding information to methods by using parameters -- Returning values from method calls -- Making a tiny contacts app -- Reading in contact details -- Storing contact information -- Using Windows local storage -- Using reference parameters to deliver results from a method call -- Displaying the contact details -- Adding IntelliSense comments to your methods -- What you have learned -- 9.Creating structured data types -- Storing music notes by using a structure -- Creating and declaring a structure -- Creating arrays of structure values -- Structures and methods -- Constructing structure values -- Making a music recorder -- Creating preset arrays -- Objects and responsibilities: Making a SongNote play itself -- Protecting values held in a structure -- Making a drawing program with Snaps -- Drawing dots on the screen -- Using the DrawDot Snap to draw a dot on the screen -- The SnapsCoordinate structure -- Using the GetDraggedCoordinate Snap to detect a drawing position -- Using the SetDrawingColor Snap to set the drawing color -- Using the ClearGraphics Snap to clear the screen -- The SnapsColor structure -- Creating enumerated types -- Making decisions with the switch construction -- Extra Snaps -- GetTappedCoordinate -- DrawLine -- GetScreenSize -- PickImage -- What you have learned -- 10.Classes and references -- Making a time tracker -- Creating a structure to hold contact information -- Using the this reference when working with objects -- Managing lots of contacts -- Making test data -- Designing the Time Tracker user interface -- Structuring the Time Tracker program -- Creating a new contact -- Finding customer details -- Adding minutes to a contact -- Display a summary -- Structures and classes -- Sorting and structures -- Sorting and references -- Reference and value types -- References and assignments -- Classes and constructors -- Arrays of class references -- From arrays to lists -- Working through lists of data -- Lists and the index value -- Lists of structures -- Storing data using JSON -- The Newtonsoft JSON library -- Storing and recovering lists -- Fetching data using XML -- What you have learned -- 11.Making solutions with objects -- Creating objects with integrity -- Protecting data held inside an object -- Providing Get and Set methods for private data -- Providing methods that reflect the use of an object -- Using properties to manage access to data -- Using properties to enforce business rules -- Managing the object construction process -- Catching and dealing with exceptions -- Creating user-friendly applications -- Saving drawings in files -- SaveGraphicsImageToFileAsPNG -- SaveGraphicsImageToLocalStoreAsPNG -- LoadGraphicsPNGImageFromLocal Store -- The DateTime structure -- Getting the current date and time -- Fading date and time displays -- Using the date and time to make a file name -- Creating a Drawing class -- Creating a list of drawings -- Making the drawing diary methods -- What you have learned -- 12.What makes a game? -- Creating a video game -- Games and game engines -- Games and sprites -- What you have learned -- 13.Creating gameplay -- Creating a player-controlled paddle -- Adding sound to games -- Displaying text in a game -- Making a complete game -- What you have learned -- 14.Games and object hierarchies -- Games and objects: Space Rockets in Space -- Constructing a star sprite that moves -- Allowing methods to be overridden -- Creating a moving star field -- Creating a rocket based on a MovingSprite -- Adding some aliens -- Designing a class hierarchy -- What you have learned -- 15.Games and software components -- Games and objects -- Creating cooperating objects -- Objects and state -- Interfaces and components -- What you have learned.
ISBN
  • 9781509301157
  • 1509301151
LCCN
2015942036
OCLC
  • ocn919015029
  • 919015029
  • SCSB-9214271
Owning Institutions
Columbia University Libraries