Free Programming Books
Free download ebooks on computer and programming

Free ebook "C# Essentials" Sample Chapter

C# Essentials
Free Download Chapter 1: The Journey to C#
Download chapter

C# is a radical departure from C and C++, even though many similar elements remain. In C# Essentials, the creators of one of the world's first C# college courses teach C# through step-by-step code examples that draw on their unique insight into what working developers need to know. Pappas and Murray begin by examining the key features of the C# language-and comparing C# to C and C++. Next, they outline practical programming strategies for making the most of C#; then introduce each key C# concept through complete, step-by-step code examples.

 next > >

The Journey to C#

On your mark, get set, GO! That pretty much describes how quickly and easily you are about to begin understanding and writing C# (pronounced C-sharp) code. Whether you are new to programming, or an old-salt at it, Microsoft's new, refreshing, powerful, and fun programming language, C#, will make a believer out of you!

Fun? Yes! C# provides the ease of GUI (Graphical User Interface) design and layout that has been available to Visual Basic programmers for years. This component of C# allows you to visually create an application or applet user interface by simply clicking on a control toolbar, dragging a control onto a design page, and setting the control's properties from intuitive drop-down lists.

With more of today's programs demanding a financially profitable and educationally informative Web presence, C# stands poised as the pinnacle of development languages. Incorporating the best of Java or J++, CGI, PERL, C/C++, and Visual Basic with the architecture independence of Java's bytecode, or native code format, code solutions have the potential to endure and evolve without total rewrites.

No longer will a Web-enabled solution require a Visual Basic programmer for interface design, a C++ programmer for pure, raw, data-crunching horsepower, and a Java, CGI, or PERL expert to make an entire package available worldwide.

To see just how familiar C# syntax is to today's state-of-the-art programming languages take a quick tour of Chapter 2, "Unique C+," then come right back to this chapter. What follows is a very brief but interesting history of programming languages leading up to the development of C#.

It All Began with Algol

Algol, CPL, BCPL, B, Basic, PL/I, Assembly Language, COBOL, Fortran, PL/I, Pascal, Modula-2, Ada, SmallTalk, Lisp, Java, J++, CGI, PERL, Visual Basic, C, C++, and now C#-the list is quite impressive. Why are there so many languages? Why can't someone invent one language to do it all? Which programming language or languages should I learn? Where will this all end?

C# is an easy-to-learn, easy-to-use, all encompassing problem solver. Before delving into this new language, let's take an historical look at how C# evolved. This journey will answer all of the questions posed in the previous paragraph.

As we look back, you will discover the roots and building blocks of many of today's languages. This information allows us to properly use these new development tools by explaining where each fits into the big picture. You will explore many individual language features that are included in C#. Reading between the lines of the travelogue you will also uncover secrets to predicting how programming languages will advance in future evolutions and/or revolutions!