Learn to program with the world′s leading programming language
Ultra–versatile C# is the most popular programming language in the world, and this book is your ultimate beginner′s guide to programming using C# 7 and Visual Studio 2017. Even if you have never written a line of code, these expert Wrox authors will walk you through everything you need to know. You′ll learn about variables, flow control, and object–oriented programming, then move into web and Windows programming as well as databases and XML. Exclusive "Try It Out" sections in the introductory chapters offer step–by–step instruction, enabling you to write your own usable code and build smarter, faster apps.
Beginning C# 7 Programming with Visual Studio 2017:
- Introduces you to variables, expressions, flow control, functions, debugging, and error handling
- Covers object oriented programming, classes and class members, web and Windows programming, and Windows forms
- Explains how enhancements such as code navigation, IntelliSense, refactoring, and code fixes save you programming time and effort
- Provides plenty of downloadable code samples at wrox.com for your use
- Shows you how to find and fix bugs early in the process, saving time and headaches later
- Explores cloud, cross–platform, and data access programming
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.
INTRODUCTION xxi I: THE C# LANGUAGE
CHAPTER 1: INTRODUCING C# 3
CHAPTER 2: WRITING A C# PROGRAM 15
CHAPTER 3: VARIABLES AND EXPRESSIONS 33
CHAPTER 4: FLOW CONTROL 59
CHAPTER 5: MORE ABOUT VARIABLES 83
CHAPTER 6: FUNCTIONS 117
CHAPTER 7: DEBUGGING AND ERROR HANDLING 149
CHAPTER 8: INTRODUCTION TO OBJECT–ORIENTED PROGRAMMING 179
CHAPTER 9: DEFINING CLASSES 203
CHAPTER 10: DEFINING CLASS MEMBERS 233
CHAPTER 11: COLLECTIONS, COMPARISONS, AND CONVERSIONS 269
CHAPTER 12: GENERICS 319
CHAPTER 13: ADDITIONAL C# TECHNIQUES 359PROGRAMMING
CHAPTER 14: BASIC DESKTOP PROGRAMMING 425
CHAPTER 15: ADVANCED DESKTOP PROGRAMMING 479PROGRAMMING
CHAPTER 16: BASIC CLOUD PROGRAMMING 533
CHAPTER 17: ADVANCED CLOUD PROGRAMMING AND DEPLOYMENT 559
CHAPTER 18: .NET STANDARD AND .NET CORE 579
CHAPTER 19: ASP.NET AND ASP.NET CORE 609
CHAPTER 20: FILES 641
CHAPTER 21: XML AND JSON 673
CHAPTER 22: LINQ 697
CHAPTER 23: DATABASES 731PART V: ADDITIONAL TECHNIQUES
CHAPTER 24: WINDOWS COMMUNICATION FOUNDATION 761
CHAPTER 25: UNIVERSAL APPS 793
APPENDIX: EXERCISE SOLUTIONS 821
About the authors
Benjamin Perkins is a Sr. Escalation Engineer at Microsoft. His experience includes designing, developing, deploying, administering, and managing enterprise–level IT solutions.
Jacob Vibe Hammer helps develop solutions for the health care industry as a Senior Software Engineer at Systematic in Denmark. He has co–authored a number of .NET books and works with numerous Microsoft technologies.
Jon D. Reid is a Product Solution Manager in Research and Development at IFS AB, specializing in Field Service Management using C# and .NET.
Visit us at wrox.com for free code samples.