Home Price List Order Info Microcontrollers Visual C PC Assembler

Why choose C#? Why not C or C++?

C is a brilliant programming language far more interesting than BASIC and infinitely more powerful. But professional programmers who write in C seem to enjoy extreme complexity which gives the impression that C is far too difficult for casual users to learn. In my first book about C & C++ which I wrote during 1997/8 I proved that C can be friendly and interesting when approached in a practical way. A few years later when Windows was firmly established I considered writing about Visual C and Windows programming but I could find no way to bypass the complications of Windows multitasking.

Now at last Microsoft have introduced an easy way to begin serious Windows programming. Visual C# 2005 allows us to create complex Windows programmes without us needing to wade into the quagmire of multitasking. We do use multitasking, as that is what Windows is all about, but Visual C# handles this in the background unless we have a particular need.

C++ is the object oriented version of C, and C# is a simplified version of C++. We cannot easily write Windows programmes using C because we cannot use plain C to access the Windows library routines. So it is clear cut. C# is easy to use and allows us to access the library routines. It is without doubt the best Windows programming language for newcomers to learn.