C# Programming in easy steps

C# Programming in easy steps

by Mike McGrath

Paperback(2nd ed.)

View All Available Formats & Editions
Choose Expedited Shipping at checkout for delivery by Wednesday, July 28


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

  • Related collections and offers

    Product Details

    ISBN-13: 9781840789065
    Publisher: In Easy Steps Limited
    Publication date: 06/25/2020
    Series: In Easy Steps
    Edition description: 2nd ed.
    Pages: 192
    Sales rank: 1,167,716
    Product dimensions: 7.20(w) x 8.80(h) x 0.50(d)

    About the Author

    Mike McGrath gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. Mike is an established In Easy Steps author with several guides to his credit.

    Table of Contents

    1 Getting started 7

    Introducing C# 8

    Installing Visual Studio 10

    Exploring the IDE 12

    Starting a Console project 14

    Writing your first program 16

    Following the rules 18

    Summary 20

    2 Storing values 21

    Creating variables 22

    Reading input 24

    Employing arrays 26

    Casting data types 28

    Fixing constants 30

    Summary 32

    3 Performing operations 33

    Doing arithmetic 34

    Assigning values 36

    Comparing values 38

    Assessing logic 40

    Examining conditions 42

    Setting precedence 44

    Summary 46

    4 Making statements 47

    Branching with if 48

    Switching branches 50

    Looping for 52

    Looping while 54

    Iterating for each 56

    Summary 58

    5 Devising methods 59

    Creating function 60

    Passing arguments 62

    Overloading methods 64

    Refactoring code 66

    Summary 68

    6 Handing strings 69

    Discovering string features 70

    Manipulating strings 72

    Joining and comparing strings 74

    Copying and swapping strings 76

    Finding substrings 78

    Formatting strings 80

    Formatting date strings 82

    Summary 84

    7 Accessing files 85

    Writing a file 86

    Appending to a file 88

    Reading text and lines 90

    Straming lines 92

    Manipulating input and output 94

    Summary 96

    8 Solving problems 97

    Detecting real-time errors 98

    Fixing compile-time errors 100

    Debugging code 102

    Setting breakpoints 104

    Catching runtime errors 106

    Getting help 108

    Summary 110

    9 Creating objects 111

    Encapsulating data 112

    Creating multiple objects 114

    Initializing class members 116

    Inheriting class properties 118

    Calling base constructors 120

    Hiding base methods 122

    Directing method calls 124

    Providing capability classes 126

    Employing partial classes 128

    Summary 130

    10 Controlling events 131

    Starting a Forms project 132

    Adding visual controls 134

    Writing functional code 136

    Gathering text entries 138

    Ticking option boxes 140

    Showing user messages 142

    Calling system dialogs 144

    Creating application menus 146

    Making menus work 148

    Importing audio resources 150

    Summary 152

    11 Building an application 153

    Planning the program 154

    Assigning fixed properties 156

    Designing the layout 158

    Setting dynamic properties 160

    Adding runtime function 162

    Testing the program 164

    Publishing the application 166

    Summary 168

    12 Targeting devices 169

    Starting a Universal project 170

    Inserting page components 172

    Importing program assets 174

    Designing the layout 176

    Adding runtime function 178

    Testing the program 180

    Adjusting the interface 182

    Deploying the application 184

    Summary 186

    Index 187

    Customer Reviews