Microsoft Visual C# 2012 Step By Step (Step by Step Developer)

Microsoft Visual C# 2012 Step By Step (Step by Step Developer)

John Sharp

Language: English

Pages: 844

ISBN: 0735668019

Format: PDF / Kindle (mobi) / ePub

Teach yourself how to build applications with Microsoft Visual C# 2012 and Visual Studio 2012—one step at a time. Ideal for those with fundamental programming skills, this tutorial provides practical, learn-by-doing exercises for mastering core C# language features and creating working applications and components for Windows.

Discover how to:

  • Work with variables, non-reserved identifiers, statements, operators, and methods
  • Use the new application models provided by Windows 8 and the Windows Runtime
  • Create interfaces and define abstract classes
  • Manage errors and exception handling
  • Use collection classes
  • Work with databases by using DataBinding with the Entity Framework
  • Respond to user input and gestures; gather input from devices and other sources
  • Handle events arising from multiple sources
  • Develop your first Windows 8 apps

Understanding TCP/IP

Smashing Node.js

Software Requirements (3rd Edition)

Pro Website Development and Operations: Streamlining DevOps for large-scale websites

JavaScript Enlightenment














using. You’ll learn the meaning of most of the C# keywords as you proceed through this book. The following table lists the keywords: 40  PART I  Introducing Microsoft Visual C# and Microsoft Visual Studio 2012 abstract do in protected true as double int public try base else interface readonly typeof bool enum internal ref uint break event is return ulong byte explicit lock sbyte unchecked case extern long sealed unsafe catch false namespace short ushort

select a control in the Design View window, the corresponding control is selected in the Document Outline window (pin the Document Outline window in place by deselecting the Auto Hide button in the top-right corner of the Document Outline window to see this in action.) 3. On the form, click the two TextBox controls in which the user types numbers. In the Document Outline window, verify that they are named lhsOperand and rhsOperand. When the form runs, the Text property of each of these controls

lower half of the window: 102  PART I  Introducing Microsoft Visual C# and Microsoft Visual Studio 2012 firstDate firstDate firstDate firstDate firstDate firstDate == != < <= > >= secondDate secondDate secondDate secondDate secondDate secondDate : : : : : : False True False False True True The Boolean expression firstDate == secondDate should be true because both firstDate and secondDate are set to the current date. In fact, only the less than operator and the greater than or equal to

at the start of the while loop examines the value in the line variable. If it is not null, the body of the loop displays the current line of text by appending it to the Text property of the source text box, together with a newline character (‘\n’—the ReadLine method of the TextReader object strips out the newline characters as it reads each line, so the code needs to add it back in again). The while loop then reads in the next line of text before performing the next iteration. The while loop

items, you might consider reading some of the other titles in the Step by Step for Developers series available from Microsoft Press, such as Microsoft ASP.NET 4 Step by Step, Microsoft ADO.NET 4 Step by Step, and Microsoft Windows Communication Foundation 4 Step by Step. Organization of This Book This book is divided into four sections: ■■ ■■ ■■ ■■ xxii  Introduction Part I, "Introducing Microsoft Visual C# and Microsoft Visual Studio 2012," provides an introduction to the core syntax of

Download sample