
ptg18189312
DEITEL
®
DEVELOPER SERIES
The DEITEL® DEVELOPER SERIES is designed for professional programmers. The series presents
focused treatments on a growing list of emerging and mature technologies, including C# and .NET,
C
++
, C, JavaScript®, Internet and web development, Android™ app development, Java™, iOS® app
development, Swift™ and more. Each book in the series contains the same live-code teaching
methodology used in the Deitels’ HOW TO PROGRAM SERIES college textbooks—in this book,
most concepts are presented in the context of completely coded, live apps.
ABOUT THE COVER
The cover of this book features a fractal—a geometric gure that can be generated from a pattern
repeated recursively. The gure is modied by applying the pattern to each segment of the original
gure. Although these gures were studied before the 20th century, it was the mathematician
Benoit Mandelbrot who in the 1970s introduced the term fractal, along with the specics of how
a fractal is created and practical applications. Fractal geometry provides mathematical models for
many complex forms found in nature, such as mountains, clouds, galaxy clusters and the folds of
the brain. Not all fractals resemble objects in nature. Drawing fractals has become a popular art form.
DEITEL & ASSOCIATES, INC.
Deitel & Associates, Inc., founded by Paul Deitel and Harvey Deitel, is an internationally recognized
authoring and corporate training organization, specializing in computer programming languages,
object technology, Internet and web software technology, and Android and iOS app development. The
company’s clients include many of the world’s largest corporations, government agencies, branches of
the military and academic institutions. The company oers instructor-led training courses delivered at
client sites worldwide on major programming languages and platforms. Through its 40-year publishing
partnership with Prentice Hall/Pearson, Deitel & Associates, Inc., creates leading-edge programming
professional books, college textbooks, LiveLessons™ video products, e-books and REVEL™ interactive
multimedia courses (
revel.pearson.com) with integrated labs and assessment. To learn more about
Deitel & Associates, Inc., its text and video publications and its worldwide instructor-led, on-site training
curriculum, visit
www.deitel.com/or send an email to deitel@deitel.com. Join the Deitel social
media communities on Facebook® (
facebook.com/DeitelFan), Twitter® (twitter.com/deitel),
Google+™ (
google.com/+DeitelFan), LinkedIn® (bit.ly/DeitelLinkedIn) and YouTube™
(
youtube.com/DeitelTV), and subscribe to the Deitel® Buzz Online newsletter (www.deitel.com/
newsletter/subscribe.html).
Cover illustration by Lisa Ewing/GettyImages
COMMENTS FROM RECENT EDITIONS REVIEWERS (Continued From Back Cover)
“I really love the way you guys write—it’s interesting and informative!”—
Shay Friedman, Microsoft Visual C# MVP
“Good introduction to the most popular GUI controls and working with events. I use the techniques of the strings chapter in the line of business
apps that I build. I liked the les and streams chapter and the real-world example. I’m pleased to see the inclusion of additional advanced material
online.” —
Shawn Weisfeld, Microsoft MVP and President and Founder of UserGroup.tv
“Outstanding presentations of Windows Forms and the .NET I/O facilities. Amazingly clear and intuitive presentation of generics; this chapter represents
why I like this book so much—it really shines at presenting advanced topics in a way that can be easily understood. The presentation of LINQ to
XML is fabulous.” —
Octavio Hernandez, Microsoft Certied Solution Developer (MCSD), Principal Software Engineer at Advanced Bionics
“The beginning of the chapter ‘Classes and Objects: A Deeper Look’ shows a class in an ‘amateur’ state—then you do a great job of describing
how many ways one can improve it until it pretty much becomes air-tight in security and functionality. Operator overloading is a good description.
Good example of extension methods.” —
Bradley Sward, College of Dupage
“Updating an already excellent book with the latest .NET features can only result in a superb product. I like the explanation of properties and
the discussion of value vs. reference types. I like your explanation of pass-by-value vs. pass-by-reference. The arrays chapter is one of my
favorites. Great job explaining inheritance, polymorphism, interfaces and operator overloading.”
—
José Antonio González Seco, Parliament of Andalusia, Spain
“Great job explaining exception handling—with great examples; the new features look pretty sweet. Shows the important things you need
to get going with GUI. Delegates are huge and covered well. Interesting description of C# 6’s exception lters.”
—
Bradley Sward, College of Dupage
“An excellent introduction to XML, LINQ to XML and related technologies.” —Helena Kotas, Microsoft
“Good overview of relational databases—it hits on the right LINQ idioms.”—Alex Turner, Microsoft
“Excellent chapter on exceptions.” —Vinay Ahuja, Architect, Microsoft Corporation
“Great chapter on polymorphism.” —Eric Lippert, Formerly of Microsoft
“Introduction to LINQ and the List Collection is a great chapter; you do such a good and consistent job of explaining your code. The focus on
using LINQ to manage data is cutting edge.”—
Stephen Hustedde, South Mountain College
“The presentations are always superbly clear. Excellent intro to Visual Studio and visual programming! I like the early presentation of the new
C# 6 string interpolation feature. Introducing UML class diagrams in parallel with the presentation of the language is a great idea. I like the
early introduction of exception handling. Brings readers up to speed fast in GUI design and implementation, and event-driven programming.
Nice example demonstrating the method call stack and activation records. Database chapter perfectly explains LINQ to Entities and UI binding.”
—
Octavio Hernandez, Microsoft Certied Solution Developer (MCSD), Principal Software Engineer at Advanced Bionics
“Chapter 2 is perfect for introducing Visual Studio and GUI elements—I wish I had this chapter when I was rst getting back into computers.
Everything felt just right in the methods chapter. Recursion will warp anyone’s brain—the stack discussion really helps readers understand
what is going on. I really like the deck of cards example, being a former casino gaming programmer. Multidimensional arrays are handled well.
I like the attention to detail and the UML. Thank you for showing correct code-formatting conventions. Thorough display of all the ‘pass-by’ types.
The card shufing and dealing simulation is a great example for bringing together many concepts. Good use of overloaded functions for
rectangular arrays and jagged arrays. The LINQ chapter is perfect—much more will be revealed in later chapters but readers will remember
this. The collections are a nice addition as well—a chapter that is important to get a taste of now so the later material can be feasted upon.
Describes inheritance perfectly.” —
Bradley Sward, College of Dupage
“This new edition solidies it as the fundamental tool for learning C# updated to the latest C# 6 features. It covers from the fundamentals of
OOP to the most advanced topics, all in an easily accessible way thanks to its crystal-clear explanations. A good job explaining such a complex
topic as asynchronous programming.”—
José Antonio González Seco, Parliament of Andalusia, Spain
“I liked the natural use of C# 6 string interpolation. A good clear explanation of LINQ query syntax. GUI apps are where coding starts to become
fun—you’ve handled it well and covered all the bases. The Game of Craps is an awesome example. I love that you’re paying attention to
formats and using them well.”—
Lucian Wischik, C# Language Design Team, Microsoft
“An excellent resource to tame the beast that is C#. In the Windows forms chapter, cool how the message box will be customized to the clicked
buttons. I love the Paint example. A good look at les and directories—with text mode it’s easier to see what’s going on—binary mode is
much more efcient so it’s good to see it here. You show error checking in GUI and les/streams well. File chooser functionality is a nice touch.
Good example of serialization. The recursive directory searching is nice.”—
Bradley Sward, College of Dupage
7/7/16 12:31 PM
评论0