C# Programming, 3rd Ed (In Easy Steps)

Author: Mike McGrath
Publisher: Easy Steps
Date: April 2022
Pages: 192
ISBN: 978-1840789737
Print: 1840789735
Kindle: B09WPBZZCV
Audience: C# developers
Rating: 5
Reviewer: Mike James
An easy guide to C# - what could be better.

This is a third edition and covers C#10 and .NET 6. Don't worry too much if the world has moved on, as the actual version of the language you are using doesn't much affect how useful the book is. The changes to the .NET environment are in the detail, rather than the broad picture.

This is a beginner's book but the subject matter isn't trivial. It starts off with a look at how to get Visual Studio Community edition installed - this is a good choice of IDE. From here we create a quick and simple console application.

C# is an object-oriented language and one way of introducing the ideas of objects is to use the layout editor in Visual Studio. You can say "here is a button - this is an object and it has properties, methods and events". This book doesn't take this approach. Instead it steers well clear of objects until much later, which is a traditional, if not effective, approach. 

Banner

Chapter 2 is all about variables but quickly moves on to input, arrays and data types. The next step is to look at operations. So far its much the same in any language. Chapter 5 introduces functions and how to use parameters, then strings and string manipulation are explained. Chapter 8 gets us on to a general topic of how to deal with errors and how to debug.

Chapter 9 introduces the idea of objects and this is a fairly standard approach. Chapter 10 is called "events" but it is more about building a GUI using Windows Forms. This would have been a good place to introduce the ideas of objects.

The final two chapters are concerned with building an application and targeting particular platforms including a Universal App - personally I would have stuck with Windows forms.

 This is a very competent and polished traditional approach to teaching a simple object oriented language. C# is not the easiest of languages to get to know - its big and has lots of sophisticated features. This book covers the basics of creating a desktop app. It doesn't deal with cross platform app construction and doesn't deal with ASP web applications - in the number of pages at an introductory level you really wouldn't expect it to.

If you are looking for an easy and friendly introduction to C# then this will get you started but it doesn't get you to the features that makes C# worth learning more than other possible languages. You will need a follow on book and practice.

 

  • Mike James, Founder and Chief Editor of I Programmer is also a prolific author. In addition to his books on specific languages, Deep C#: Dive Into Modern C#

To keep up with our coverage of books for programmers, follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

Banner


Principled Programming

Author: Tim Teitelbaum
Publisher: DateTree Press
Date: March 2023
Pages: 429
ISBN: 978-8987744109
Print: B0BZF8R467
Audience: General
Rating: 5
Reviewer: Mike James
Principled Programming - what else would you want to do?



Reliable Source: Lessons from a Life in Software Engineering

Author: James Bonang
Date: January 2022
Pages: 608
Kindle: B09QCBVJ9V
Audience: General interest
Rating: 5
Reviewer: Kay Ewbank

This book combines a fun read with interesting insights into how to write reliable programs.


More Reviews

<ASIN:1871962439> 

<ASIN:1871962722> 

<ASIN:1871962714>

<ASIN:1871962420>

 

Last Updated ( Tuesday, 19 September 2023 )