By Michel de Champlain

You don’t want coddling; you don’t have to be instructed what you know. What you would like is a publication that makes use of your adventure as a Java or C++ programmer to offer you a leg up into the demanding situations and rewards of C#. And this functional consultant is strictly what you’re after.

Written via a crew that boasts broad event educating C# to pros, this e-book presents a pragmatic, effective rationalization of the language itself, masking simple to complex gains and calling out all that’s new in 2.0. Its guideline is often firmly located in the context of the .NET framework and strengthened through code examples, key classes in object-oriented programming, and installments of a pragmatic software programming educational. Concise and incisive, this is often how to grasp the world’s fastest-growing and so much marketable programming language.

Features:

  • Provides a gently targeted clarification of each point of  the C# language, together with complete chapters at the unified kind procedure, complex kinds, collections, generics, mirrored image and attributes.
  • Highlights all gains new to the most recent model of C# and organizes its presentation of C# in keeping with the main ideas of object-oriented programming and the .NET framework.
  • Using end-of-chapter routines, incrementally develops a cohesive software programming instructional.
  • Provides a gently centred rationalization of each point of  the C# language, together with complete chapters at the unified style method, complicated kinds, collections, generics, mirrored image and attributes.
  • Highlights all positive factors new to the most recent model of C# and organizes its presentation of C# in accordance with the major rules of object-oriented programming and the .NET framework.
  • Using end-of-chapter routines, incrementally develops a cohesive software programming tutorial.

Show description

Read or Download C# 2.0 : practical guide for programmers PDF

Similar object-oriented software design books

Guide to the unified process featuring UML, Java, and design patterns

The UML, or Unified Modeling Language, is the de facto general followed by means of the article administration crew (OMG) and by way of just about all proprietors of item modeling instruments. The Unified method is explicitly designed to paintings with the UML and is a complete layout approach protecting the vast majority of the existence cycle of a software program product.

JBoss at Work: A Practical Guide

Including a couple of famous open resource items, JBoss is extra a kinfolk of interrelated prone than a unmarried monolithic program. yet, as with all device that is as feature-rich as JBoss, there are variety of pitfalls and complexities, too. such a lot builders fight with an analogous matters whilst deploying J2EE functions on JBoss: they've got hassle getting the various J2EE and JBoss deployment descriptors to interact; they've got trouble checking out the way to start; their tasks would not have a packaging and deployment method that grows with the appliance; or, they locate the category Loaders complicated and do not understand how to exploit them, that could reason difficulties.

Object databases in practice

Myths approximately object-oriented databases are rampant. This publication debunks them, so database directors and bosses could make educated judgements concerning the know-how. This ebook offers finished assurance of the "pros and cons" of object-oriented databases, supporting managers and directors come to a decision no matter if to enforce this strong know-how.

Building Web Applications with ADO.NET and XML Web Services

How you can construct a data-intensive net program with XML net companies and ADO. web! Richard Hundhausen, Steven Borg, Cole Francis, and Kenneth Wilcox have mixed their years of craftsmanship during this precious source to coach you the way a customary stressed enterprise can leverage internet prone in B2B trade.

Extra info for C# 2.0 : practical guide for programmers

Sample text

On one hand, data fields that define the state of a class or object are typically hidden away. Allowing outside classes or objects to unwittingly change the state of another class or object undermines the notion of responsibility. On the other hand, the behavior of a class or object is generally defined by its public methods. All other classes, therefore, are only able to invoke behavior that is well-defined and consistent. In this chapter, we distinguish between static and instance members and describe how to access fields and invoke methods of both C# classes and objects.

Exercise 2-2. netmodule. This Email class encapsulates an address of type string. Tests. chapter 3 Class Members and Class Reuse H ow a class limits access to its members (fields and methods) defines, in a sense, its private and public persona. On one hand, data fields that define the state of a class or object are typically hidden away. Allowing outside classes or objects to unwittingly change the state of another class or object undermines the notion of responsibility. On the other hand, the behavior of a class or object is generally defined by its public methods.

We will discuss decoupling components more when we introduce abstract classes and interfaces in Chapter 7. 4 Resolving Namespace Conflicts A nested namespace may have an identifier name that conflicts with the global namespace. Collections namespace. Collections namespace. Collections; // To access ArrayList class. namespace Co { namespace System { namespace Collections { public class OurList { /* ... */ } // ... } } namespace Project { public class App { // ... ArrayList a; // Compilation error. OurList o; } } } The error in this example can be removed if the global namespace qualifier :: is used instead.

Download PDF sample

Rated 4.72 of 5 – based on 44 votes