Synopses & Reviews
Step-by-step instructions to programming with C# 2012Written with novice programmers in mind, this introductory guide is all you need to get started programming with C# 2012 and the .NET Framework. The unparalleled team of authors draws on their years of experience working with C# and the .NET Framework to provide you with a helpful overview of these technologies, explaining what they are, the motivation for using them, and how they relate to each other. They then progress to cover programming basics, web and desktop programming, and data access. Step-by-step methods, fundamental examples, easy-to-follow instructions, and opportunities to try out your newly acquired skills round out this thorough beginner's guide.
Beginning Visual C# 2012 Programming:
- Describes programming basics such as variables, flow control, and object oriented programming
- Focuses on the tool beginners use most to program C#: the Visual C# 2012 development environment in Visual Studio 2012
- Explains debugging and error handling
- Details collections, comparisons, and conversions and explores C# language enhancements
- Delves into WPF and other key technologies for creating and deploying desktop applications
- Covers Windows Store apps
- Looks at ASP.NET web programming and deploying web applications
- Reviews file system data, XML, and LINQ
wrox.com
Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
Synopsis
Step-by-step beginner’s guide to Visual C# 2012Written for novice programmers who want to learn programming with C# and the .NET framework, this book offers programming basics such as variables, flow control, and object oriented programming. It then moves into web and Windows programming and data access (databases and XML). The authors focus on the tool that beginners use most often to program C#, the Visual C# 2012 development environment in Visual Studio 2012.
- Puts the spotlight on key beginning level topics with easy-to-follow instructions for Microsoft Visual C# 2012
- Explores how to program for variables, expressions, flow control, and functions
- Explains the debugging process and error handling as well as object oriented programming, and much more
Beginning Microsoft Visual C# 2012 Programming offers beginners a guide to writing effective programming code following simple step-by-step methods, each followed by the opportunity to try out newly acquired skills.
About the Author
Karli Watson is an author and IT contractor in London.
Jacob Vibe Hammer is a software architect and developer at Kamstrup A/S, Denmark. He has coauthored several books.
Jon D. Reid is the director of systems engineering at Indigo Biosystems, Inc.
Morgan Skinner joined Microsoft in 2001.
Daniel Kemper is a software engineer specializing in reporting and rich client technologies.
Christian Nagel is a Microsoft Regional Director and Microsoft MVP, an associate of thinktecture, and founder of CN innovation.
Table of Contents
INTRODUCTION xxxi
PART I: THE C# LANGUAGE
CHAPTER 1: INTRODUCING C# 3
CHAPTER 2: WRITING A C# PROGRAM 13
CHAPTER 3: VARIABLES AND EXPRESSIONS 25
CHAPTER 4: FLOW CONTROL 49
CHAPTER 5: MORE ABOUT VARIABLES 79
CHAPTER 6: FUNCTIONS 105
CHAPTER 7: DEBUGGING AND ERROR HANDLING 131
CHAPTER 8: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING 157
CHAPTER 9: DEFINING CLASSES 177
CHAPTER 10: DEFINING CLASS MEMBERS 203
CHAPTER 11: COLLECTIONS, COMPARISONS, AND CONVERSIONS 235
CHAPTER 12: GENERICS 279
CHAPTER 13: ADDITIONAL OOP TECHNIQUES 313
CHAPTER 14: C# LANGUAGE ENHANCEMENTS 339
PART II: WINDOWS PROGRAMMING
CHAPTER 15: BASIC DESKTOP PROGRAMMING 381
CHAPTER 16: ADVANCED DESKTOP PROGRAMMING 425
CHAPTER 17: WINDOWS STORE APPS 469
CHAPTER 18: DEPLOYING DESKTOP APPLICATIONS 513
PART III: WEB PROGRAMMING
CHAPTER 19: ASP.NET WEB PROGRAMMING 535
CHAPTER 20: DEPLOYING WEB APPLICATIONS 591
PART IV: DATA ACCESS
CHAPTER 21: FILE SYSTEM DATA 605
CHAPTER 22: XML 639
CHAPTER 23: INTRODUCTION TO LINQ 663
CHAPTER 24: APPLYING LINQ 699
PART V: ADDITIONAL TECHNIQUES
CHAPTER 25: WINDOWS COMMUNICATION FOUNDATION 727
APPENDIX A: EXERCISE SOLUTIONS 779
INDEX 827