Welcome to www.ebook-x.com. Download popular free ebooks, classical free ebooks, new releases and more.

The best Ebooks library for Free Ebooks Download.

Free ebooks Free programing ebooks C# Covers C# 2.0 and C# 3.0 -C# in Depth

Covers C# 2.0 and C# 3.0 -C# in Depth

C# in DepthThe book's structure is simple. There are three parts and a single appendix. The first part serves as an introduction, including a refresher on topics in C#1 that are important for understanding C#2 and 3, and that are often misunderstood. The second part covers the new features in C#2. The third part covers the new features in C#3.
There are occasions where organizing the material this way means we come back to a topic a couple of times—in particular delegates are improved in C#2 and then again in C#3—but there is method in my madness. Chapter 1 sets the scene by taking a simple piece of C#1 code and evolving it, seeing how C#2 and 3 allow the source to become more readable and powerful.
Chapter 2 looks back at C#1, and three specific aspects: delegates, the type system characteristics, and the differences between value types and reference types.
Chapter 3 tackles the biggest feature of C#2, and potentially the hardest to grasp: generics. Methods and types can be written generically, with type parameters standing in for real types which are specified in the calling code.
If you've ever wanted to represent a null integer, chapter 4 is for you. It introduces nullable types, a feature built on generics and taking advantage of support in the language, runtime, and framework.
Chapter 5 shows the improvements to delegates in C#2. You may have only used delegates for handling events such as button clicks before now. C#2 makes it easier to create delegates, and library support makes them more useful for situations other than events.
In chapter 6 we examine iterators, and the easy way to implement them in C#2. Few developers use iterator blocks, but as LINQ to Objects is built on iterators, they will become more and more important. The lazy nature of their execution is also a key part of LINQ.
Chapter 7 shows a number of smaller features introduced in C#2, each making life a little more pleasant. The language designers have smoothed over a few rough places in C#1, allowing more flexible interaction with code generators, better support for utility classes, more granular access to properties, and more.
Chapter 8 once again looks at a few relatively simple features—but this time in C#3. Almost all the new syntax is geared toward the common goal of LINQ but the building blocks are also useful in their own right.
Chapter 9 looks at the first major topic of C#3—lambda expressions. Not content with the reasonably concise syntax we saw in chapter 5, the language designers have made delegates even easier to create than in C#2. Lambdas are capable of more—they can be converted into expression trees: a powerful way of representing code as data.
In chapter 10 we examine extension methods, which provide a way of fooling the compiler into believing that methods declared in one type actually belong to another.
Chapter 11 combines the previous three chapters in the form of query expressions, a concise but powerful way of querying data. Initially we concentrate on LINQ to Objects, but see how the query expression pattern is applied in a way which allows other data providers to plug in seamlessly.
Chapter 12 reaps the rewards of query expressions combined with expression trees: it shows how LINQ to SQL is able to convert what appears to be normal C# into SQL statements. We also take a speedy look at some other LINQ providers—those in the .NET Framework, some third-party ones which are gradually appearing, and a sneak peek at what Microsoft has in store.
Download free pdf ebooks on c#: Covers C# 2.0 and C# 3.0 -C# in Depth
 
More free ebooks
 
Joomla 1.5 Templates by Joomlashack