CHF46.00
Download est disponible immédiatement
Easily get started programming using the ultra-versatile C# 7 and Visual Studio 2017
Beginning C# 7 Programming with Visual Studio 2017 is the beginner's ultimate guide to the world's most popular programming language. Whether you're new to programming entirely, or just new to C#, there has never been a better time to get started. The new C# 7 and Visual Studio 2017 updates feature a number of new tools and features that streamline the workflow, simplify the code, and make it easier than ever to build high-quality apps. This book walks you through everything you need to know, starting from the very basics, to have you programming in no time. You'll learn about variables, flow control, and object oriented programming, then move into Web and Windows programming as well as databases and XML. The companion website provides downloadable code examples, and practical Try It Out sections provide explicit, step-by-step instructions for writing your own useful, customizable code.
C# 7 can be used to build Windows applications, program Windows 10, and write Web apps when used alongside ASP.NET. With programming skills becoming de rigueur in fields far beyond the tech world, C# 7 is a great place to start building versatile, helpful skills. This book gets you started quickly and easily with instruction from a master-team of C# programmers.
Learn how to program using the world's leading programming language
Build smarter, faster apps using the latest features in C# 7 and Visual Studio 2017
Find and fix bugs sooner, saving headaches down the line
Integrate with all .NET Core, Azure applications, cloud services, Docker containers, and more
The world of programming can seem intimidating to a beginner, and the prospect of learning a whole new "language" can seem daunting. Beginning C# 7 Programming with Visual Studio 2017 demystifies the process and shows you how to bring your ideas to life.
Auteur
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.
Texte du rabat
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:
Contenu
Introduction xxi
Part I: The C# Language
Chapter 1: Introducing C# 3
What Is the .NET Framework? 4
What Is C#? 9
Visual Studio 2017 11
Chapter 2: Writing a C# Program 15
The Visual Studio 2017 Development Environment 16
Console Applications 21
Desktop Applications 26
Chapter 3: Variables and Expressions 33
Basic C# Syntax 34
Basic C# Console Application Structure 36
Variables 38
Expressions 46
Chapter 4: Flow Control 59
Boolean Logic 60
Branching 65
Looping 72
Chapter 5: More About Variables 83
Type Conversion 84
Complex Variable Types 91
String Manipulation 109
Chapter 6: Functions 117
Defining and Using Functions 118
Variable Scope 131
The Main() Function 138
Struct Functions 141
Overloading Functions 142
Using Delegates 144
Chapter 7: Debugging and Error Handling 149
Debugging in Visual Studio 150
Error Handling 167
Chapter 8: Introduction To Object-Oriented Programming 179
What Is Object-Oriented Programming? 180
OOP Techniques 186
OOP in Desktop Applications 196
Chapter 9: Defining Classes 203
Class Definitions in C# 204
System. Object 209
Constructors and Destructors 211
OOP Tools in Visual Studio 216
Class Library Projects 222
Interfaces Versus Abstract Classes 226
Struct Types 228
Shallow Copying Versus Deep Copying 230
Chapter 10: Defining Class Members 233
Member Definitions 234
Additional Class Member Topics 244
Interface Implementation 249
Partial Class Definitions 252
Partial Method Definitions 253
Example Application 255
The Call Hierarchy Window 265
Chapter 11: Collections, Comparisons, and Conversions 269
Collections 270
Comparisons 292
Conversions 313
Chapter 12: Generics 319
What Are Generics? 320
Using Generics 321
Defining Generic Types 339
Variance 353
Chapter 13: Additional C# Techniques 359
The :: Operator and the Global Namespace Qualifier 360
Custom Exceptions 361
Events 363
Expanding and Using CardLib 375
Attributes 384
Initializers 386
Type Inference 392
Anonymous Types 394
Dynamic Lookup 398
Advanced Method Parameters 402
Lambda Expressions 409
Part II: Windows Programming
Chapter 14: Basic Desktop Programming 425
XAML 426
The Playground 429
Control Layout 441
The Game Client 452
Chapter 15: Advanced Desktop Programming 479
Creating and Styling Controls 480
WPF User Controls 485
The Main Window 499
Putting It All Together 504
Part III: Cloud and Cross-Platform Programming
Chapter 16: Basic Cloud Programming 533
The Cloud, Cloud Computing, and the Cloud Optimized Stack 534
Cloud Patterns and Best Practices 537
Using Microsoft Azure C# Libraries to Create a Storage Container 538
Creating an ASP.NET 4.7 Web Site That Uses the Storage Container 548
Chapter 17: Advanced Cloud Programming and Deployment 559
Creating an ASP.NET Web API 560
Deploying and Consuming an ASP.NET Web API on
Microsoft Azure 564 Scaling a...