Microsoft Student Partners

Microsoft Student Partners in WA

Aug-4-09

MSPress Book Review

posted by Daniel Paoliello

Recently MSPress gave me a copy of Programming Microsoft Visual C# 2008: The Language (Donis Marshall, ISBN 0735625409) to read and review. Having read the book cover to cover, I thoroughly enjoyed every page.

Background

First, a quick bit of background to let you know where I’m coming from. I’m a self-taught C# and .NET programmer – so this is the first book I’ve read on the subject. I wasn’t expecting to learn much about C# itself in the book, more the technologies that were added in .NET 3.5 (LINQ, extension functions, etc). Luckily, I was pleasantly surprised.

Look and Feel

Overall, the book reads like a technical manual. Marshall writes in a very dry fashion, and it’s not the type of book you would read from end-to-end for the sake of reading a book. The use of code samples and real life examples help solidify lessons are fantastic to understand the technical jargon used. All of the paragraphs are kept short and concise are often intermingled with MSDN style documentation and examples.

Typically, the learning curve in each chapter is quite sharp, starting with basic knowledge about the subject and rapidly accelerating to the newer and complex features that .NET 3.5 introduces. The chapters are very content heavy, but this load is lightened by attempting to replicate the examples are trying out new knowledge in Visual Studio while reading. Mixing reading with coding is probably the best way to maximise the learning from this book.

Target Audience

Marshall requests a basic knowledge of programming and Object Orientated concepts. I would also add that a basic knowledge of C#, .NET and Visual Studio are highly recommended. This book is by no means a ‘C# for Dummies’ style guide. The book is more angled towards .NET 2.0 programmers looking to upgrade, Java (or other OO) programmers looking to switch languages or a Computer Science student who wishes to learn .NET.

Content

To say the least, this book is fantastic. Marshall demonstrates her mastery of .NET in the deep level of knowledge presented in this book. There were a great number of things that I learnt for the first time while reading this book, even basic concepts of C# (did you know that C# has a ?? operator?). The topics presented spread from basic Visual Studio usage to LINQ, delegates and the operations of the .NET Garbage Collector.

I’ve learnt a massive amount from this book, and am much more confident in using some of the new features in .NET 3.5 such as Lambda functions and LINQ. The book also contained quite a lot that I would have never learnt from my self-learning such as the internal workings of the Garbage Collector and using some advanced debugging and profiling tools.

Conclusion

Reading this book was beyond valuable for me. I have improved my coding techniques and now understand other coding examples much easier. I would highly recommend this book to anyone with some experience with Object Orientated languages and techniques who wishes to start coding in C# .NET 3.5.

More info and books at http://www.mspress.com.au/ 

- Daniel Paoliello
Curtin MSP

Apr-5-08

StockPrice

posted by Luke

As my day job is working in an Accounting practice I come across problems all the time, that can be solved with computers.

One day I was given the task of looking up the historial share prices of stocks. Given the number of stocks, this wasn’t going to be a nice job, as I would have had to lookup each stock individually.

Another problem that existed was all the major finance websites that have historical data often get it wrong. Just plain wrong. I’ve found errors with Google Finance, Yahoo Finance, etc, etc.

So to do this job, I made a little .NET program called StockPrice.

Using Visual Studio 2008 I was able to very quickly (about an hour) come up with a multi-threaded program that grabbed historial prices from 3 major sites and compared them to each other, giving what it thinks is the most likely price on that day. Further more, Visual Studio 2008 allows me to OneClick publish the program for automatic updates and installation from the web.

If you are interested, please download it and take a look. I am very interested in any feedback you may have. I am happy to support it to an extent at http://forum.wamsp.com.au.

You can check it out at http://www.tidesoft.com.au/stockprice

Please note: The way Google Finance displays historical stock prices for ASX stocks is not consistent. Thus, often the Google price will be out by a day. Be sure to check the date returned on each source.

Luke
MSP (UWA)

StockPrice