Friend of Coding4Fun, Rob Miles, has updated the must have book for those learning C#, the "Yellow Book." And the PDF and samples are still free!
The latest release (or is that escape) of the C# Yellow Book is now available for download. No massive changes to the text, but a few tweaks and corrections here and there. And cheese.
You can download it (along with sample code and whatnot) from here.
The Kindle version will be updated soon. I'm just grappling with adding an index. (why does making Kindle books have to be so hard?)
This is the 2016 version of the book, the "Cheese" edition.
The material in the Yellow Book is Copyright (c) Rob Miles. If you find any mistakes in the text (it has been known) then I would be most grateful if you could send me an email to found a mistake[ At] robmiles.com so that I can put it right.
If you want to print out copies for use in class teaching then that is fine by me, as long as:
- The printed copies are sold at cost price.
- They have a cover with something yellow on it.
There are now code samples available which are keyed to the text. You can download them from here. You'll need Visual Studio 2015 to compile and run them. You can get the Community Edition (it's free) from here.
Course Slides and Labs
The book is used as the basis of the First Year Programming course that I taught at the University of Hull. You can download the slides, laboratory material and assessed coursework from here. You can use the content to teach a course, or learn along for yourself.
All the content is free to use, but please don't sell any of it for profit. If you want to make a donation to say thanks for the effort, feel free to put some money into the next good cause you find and then send me an email saying what you contributed. I'd love to hear from you.
There is now a Kindle version of the text available. You can find it here.
Here's a snip from the book;
1 Computers and Programs
2 Simple Data Processing
3 Creating Programs
4 Creating Solutions
5 Advanced Programming
6 Glossary of Terms
Welcome to the Wonderful World of Rob Miles™. This is a world of bad jokes, puns, and programming. In this book I'm going to give you a smattering of the C# programming language. If you have programmed before I'd be grateful if you'd still read the text. It is worth it just for the jokes and you may actually learn something.
If you have not programmed before, do not worry. Programming is not rocket science it is, well, programming. The bad news about learning to program is that you get hit with a lot of ideas and concepts at around the same time when you start, and this can be confusing.
The keys to learning programming are:
Practice – do a lot of programming and force yourself to think about things from a problem solving point of view
Study – look at programs written by other people. You can learn a lot from studying code which other folk have created. Figuring out how somebody else did the job is a great starting point for your solution. And remember that in many cases there is no best solution, just ones which are better in a particular context, i.e. the fastest, the smallest, the easiest to use etc.
Persistence – writing programs is hard work. And you have to work hard at it. The principle reason why most folks don't make it as programmers is that they give up. Not because they are stupid. However, don't get too persistent. If you haven't solved a programming problem in 30 minutes you should call time out and seek help. Or at least walk away from the problem and come back to it. Staying up all night trying to sort out a problem is not a good plan. It just makes you all irritable in the morning. We will cover what to do when it all goes wrong later in section 5.9.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.