C# Programming in easy steps, 2nd edition
eBook - ePub

C# Programming in easy steps, 2nd edition

Updated for Visual Studio 2019

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

C# Programming in easy steps, 2nd edition

Updated for Visual Studio 2019

About this book

C# Programming in easy steps, 2nd edition will teach you to code applications, and demonstrates every aspect of the C# language you will need to produce professional programming results. Its examples provide clear syntax-highlighted code showing C# language basics including variables, arrays, logic, looping, methods, and classes.

C# Programming in easy steps, 2nd edition begins by explaining how to install the free Visual Studio Community Edition, to create an environment in which you can quickly begin to create your own executable programs by copying the book's examples. It demonstrates all the C# language basics before moving on to provide examples of Object Oriented Programming. The book concludes by demonstrating how you can use your acquired knowledge to create graphic programs for traditional PC Desktop apps, and also as Universal apps for multiple devices.

C# Programming in easy steps, 2nd edition has an easy-to-follow style that will appeal to:

  • Anyone who wants to begin programming in C#
  • The programmer who quickly wants to add C# to their skills set
  • The hobbyist who wants to begin creating apps for their own computer
  • The student, and to those seeking a career in computing, who need a fundamental understanding of C#
  • programming

Updated for Visual Studio 2019

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access C# Programming in easy steps, 2nd edition by Mike McGrath in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in C#. We have over one million books available in our catalogue for you to explore.
1
Getting started
Welcome to the exciting world of C# programming. This chapter introduces the Visual Studio Integrated Development Environment and shows you how to create a real Windows application.
Introducing C#
Installing Visual Studio
Exploring the IDE
Starting a Console project
Writing your first program
Following the rules
Summary
Introducing C#
image
The introduction of the Microsoft .NET framework at the Professional Developers Conference in July 2000 also saw Microsoft introduce a new programming language called C# (pronounced ā€œsee-sharpā€). The name was inspired by musical notation where a # sharp symbol indicates that a written note should be a semitone higher in pitch. This notion is similar to the naming of the C++ programming language where the ++ symbol indicates that a written value should be incremented by 1.
•C# is designed to be a simple, modern, general-purpose, object-oriented programming language, borrowing key concepts from several other languages – most notably the Java programming language. Consequently, everything in C# is a class ā€œobjectā€ with ā€œpropertiesā€ and ā€œmethodsā€ that can be employed by a program.
•C# is an elegant and ā€œtype-safeā€ programming language that enables developers to build a variety of secure and robust applications. You can use C# to create Windows client applications, XML web services, distributed components, client-server applications, database applications, and much, much more.
•C# is specifically designed to utilize the proven functionality built into the .NET framework ā€œclass librariesā€. Windows applications written in C# therefore require the Microsoft .NET framework to be installed on the computer running the application – typically, an integral component of the system.
image
The source code of all examples in this book is available for free download at www.ineasysteps.com/resource-center/downloads
image
If you don’t achieve the result illustrated in any example, simply compare your code to that in the original example files you have downloaded to discover where you went wrong.
The Microsoft .NET Framework
Each version of the Microsoft .NET framework includes a unifie...

Table of contents

  1. Cover
  2. Title
  3. Copyright
  4. Contents
  5. 1 Getting started
  6. 2 Storing values
  7. 3 Performing operations
  8. 4 Making statements
  9. 5 Devising methods
  10. 6 Handling strings
  11. 7 Accessing files
  12. 8 Solving problems
  13. 9 Creating objects
  14. 10 Controlling events
  15. 11 Building an application
  16. 12 Targeting devices
  17. BackCover