When you have a question about C# 5.0 or the .NET CLR, this bestselling guide has precisely the answers you need. Uniquely organized around concepts and use cases, this updated fifth edition features a reorganized section on concurrency, threading, and parallel programming—including in-depth coverage of C# 5.0’s new asynchronous functions.
Shaped by more than 20 expert reviewers, including Microsoft’s Eric Lippert, Stephen Toub, Chris Burrows, and Jon Skeet, this book has all you need to stay on track with C# 5.0. It’s widely known as the definitive reference on the language.
Get up to speed on C# language basics, including syntax, types, and variables Explore advanced topics such as unsafe code and type variance Dig deep into LINQ via three chapters dedicated to the topic Learn about code contracts, dynamic programming, and parallel programming Work with .NET features, including reflection, assemblies, memory management, security, I/O, XML, collections, networking, and native interoperability "C# 5.0 in a Nutshell is one of the few books I keep on my desk as a quick reference."
Summary- ======== C# in Depth, Third Edition updates the best-selling second edition to cover the new features of C# 5, including the challenges of writing maintainable asynchronous code. It preserves the uniquely insightful look into the tricky areas and dusty corners of C# that only expert Jon Skeet can provide.
About this Book ============ If you're a .NET developer, you'll use C# whether you're building an advanced enterprise application or just slamming out a quick app. In C# 5, you can do amazing things with generics, lambda expressions, dynamic typing, LINQ, iterator blocks, and other features. But first you have to learn it in depth.
C# in Depth, Third Edition has been thoroughly revised to cover the new features of C# 5, including the subtleties of writing maintainable asynchronous code. You'll see the power of C# in action, learning how to work with high-value features that you'll be glad to have in your toolkit. And you'll learn to avoid hidden pitfalls of C# programming with the help of crystal clear explanations of "behind the scenes" issues.
This book assumes you've digested your first C# book and are hungry for more!
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
What's Inside
Updated for C# 5 The new async/await feature How C# works and why About the Author
Jon Skeet is a Senior Software Engineer at Google, and a highly visible participant of newsgroups, user groups, international conferences, and the Stack Overflow Q&A site. Jon spends much of his day coding in Java, but his heart belongs to C#.
Table of Contents
PART 1 PREPARING FOR THE JOURNEY
The changing face of C# development Core building on C# 1
PART 2 C# 2: SOLVING THE ISSUES OF C# 1
Parameterized typing with generics
Saying nothing with nullable types Fast-tracked delegates Implementing iterators the easy way
Concluding C# 2: the final features
PART 3 C# 3: REVOLUTIONIZING DATA ACCESS
Cutting fluff with a smart compiler
Lambda expressions and expression trees
Extension methods Query expressions and LINQ to Objects
LINQ beyond collections
PART 4 C# 4: PLAYING NICELY WITH OTHERS
Minor changes to simplify code
Dynamic binding in a static language
PART 5 C# 5: ASYNCHRONY MADE SIMPLE
Asynchrony with async/await C# 5 bonus features and closing thoughts
Harry, Hariom Chaudhary is an 26 year old young Famous Indian computer Programming Author and scientifically Hacking professional (Hacker) has a unique experience in the field of computers Programming, Hacking and Cyber Security.
He has helped Indian USA, European governments and some multinational software companies of around the globe to secure their networks and securities. He has authored several books on Various Computers Programming Languages and computer security & Hacking.
Harry, is Technically Graduate and, MSC-IT, MBA-IT Master, Harry is the leading authority on C Programming and C++ Programming as well as on Core Java & Data Structure and Algorithms. His acclaimed C and C++ & Java books. He has over 6 years of experience as a software methodologist. His teaching and research interests are in the areas of artificial intelligence, programming languages, practical complexity problems, heuristic search methods, deductive algorithms, and educational and social issues. He originated error analysis in heuristic search methods and deductive algorithms.
Harry describes himself as an Ethical Hacker, Harry Also Known as (Captain Harry Chief Hacker) In cyber space ranked under top three extremely intelligent Indian Hacker according to Famous Hacking Book “Hacking Beginner's Guide 2014, Hackers: Heroes of the Computer Revolution.”
Recently, Harry turned his passion from technology to Action Crime Novelist. Currently he is writing a Trilogy novel series (Illegal Mind & The Hacker) Based on Extremely Intelligent Hacker. Upcoming Novel’s first series is “Blood Tears.” Confirmed release in 2014.