A programmer's introduction to C# by Harvey M. Deitel, Paul J. Deitel, Jeffrey A. Listfield, Tem

By Harvey M. Deitel, Paul J. Deitel, Jeffrey A. Listfield, Tem R. Nieto, Cheryl H. Yaeger, Marina Zlatkina

Written as an creation to the hot C#, this advisor takes the skilled C programmer a couple of steps past the fundamentals. It covers items, facts forms, and stream regulate, or even delves into a few heritage at the new Microsoft internet Frameworks setting. protecting in brain that this is often for these accustomed to C (and even Java), the publication is going into the various complex positive factors and enhancements present in this new language. It additionally bargains a comparability among C#, C++, visible simple, and Java.

Show description

Read or Download A programmer's introduction to C# PDF

Similar programming: programming languages books

The J2EE Tutorial

* mild, self-paced introductions to servlets, JSP, JDBC, EJBs, XML, JMS, JNDI, and plenty of different key themes. * Follows an analogous technique and layout that made The JavaTTM educational a global best-seller! * contains CD-ROM containing all content material, examples, and either the J2EE and J2SE model 1. three software program systems.

Informatik kompakt: Eine grundlegende Einfuhrung mit Java

Die Autoren geben eine fundierte Einf? hrung in die Informatik, die von Anfang an die Zusammenh? nge zwischen den Teilgebieten des Faches betont. Das Buch ist kompakt, weil der gemeinsame Kern der verschiedenen Informatikgebiete betrachtet wird. In einer integrativen Sichtweise werden Modellierung, abstrakte Datentypen, Algorithmen sowie nebenl?

Durchstarten mit HTML5

HTML5 ist die neueste model der Markup-Sprache, die das net noch einmal gehörig auf den Kopf stellt. Obwohl die Entwicklung noch nicht abgeschlossen ist, werden viele HTML5-Elemente von modernen Browsern schon jetzt unterstützt. Zeit additionally, die Neuerungen zu erkunden und sich healthy für die Zukunft zu machen.

Additional resources for A programmer's introduction to C#

Example text

Finally, if code catches an exception that it isn’t going to handle, consider whether it should wrap that exception with additional information before rethrowing it. Chapter 5: Classes 101 Overview CLASSES ARE THE HEART of any application in an object-oriented language. This chapter is broken into several sections. The first section describes the parts of C# that will be used often, and the later sections describe things that won’t be used as often, depending on what kind of code is being written.

The required tracking code both adds execution time and code size to a function. In C#, however, objects are tracked by the garbage collector rather than the compiler, so exception handling is very inexpensive to implement and imposes little runtime overhead on the program when the exceptional case doesn’t occur. Design Guidelines Exceptions should be used to communicate exceptional conditions. Don’t use them to communicate events that are expected, such as reaching the end of a file. In the normal operation of a class, there should be no exceptions thrown.

In addition to the version that takes the array, it usually makes sense to provide one or more specific versions of the function. This is useful both for efficiency (so the object array doesn’t have to be created), and so that languages that don’t support the params syntax don’t have to use the object array for all calls. Overloading a function with versions that take one, two, and three parameters, plus a version that takes an array, is a good rule of thumb. Chapter 9: Structs (Value Types) Overview CLASSES WILL BE USED to implement most objects.

Download PDF sample

Rated 4.47 of 5 – based on 5 votes