{"product_id":"9781849690799","title":".NET 4.0 Generics Beginner's Guide","description":"\u003cb\u003eIn Detail\u003c\/b\u003e\u003cp\u003eGenerics were added as part of .NET Framework 2.0 in November 2005. Although similar to generics in Java, .NET generics do not apply type erasure but every object has unique representation at run-time. There is no performance hit from runtime casts and boxing conversions, which are normally expensive..NET offers type-safe versions of every classical data structure and some hybrid ones.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThis book will show you everything you need to start writing type-safe applications using generic data structures available in Generics API. You will also see how you can use several collections for each task you perform. This book is full of practical examples, interesting applications, and comparisons between Generics and more traditional approaches. Finally, each container is bench marked on the basis of performance for a given task, so you know which one to use and when.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThis book first covers the fundamental concepts such as type safety, Generic Methods, and Generic Containers. As the book progresses, you will learn how to join several generic containers to achieve your goals and query them efficiently using Linq. There are short exercises in every chapter to boost your knowledge.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThe book also teaches you some best practices, and several patterns that are commonly available in generic code.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eSome important generic algorithm definitions are present in Power Collection (an API created by Wintellect Inc.) that are missing from .NET framework. This book shows you how to use such algorithms seamlessly with other generic containers.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThe book also discusses C5 collections. Java Programmers will find themselves at home with this API. This is the closest to JCF. Some very interesting problems are solved using generic containers from .NET framework, C5, and PowerCollection Algorithms - a clone of Google Set and Gender Genie for example!\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThe author has also created a website (consulttoday.com\/genguide) for the book where you can find many useful tools, code snippets, and, applications, which are not the part of code-download section\u003c\/p\u003e\u003cp\u003e\u003cb\u003eApproach\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eThis is a concise, practical guide that will help you learn Generics in .NET, with lots of real world and fun-to-build examples and clear explanations. It is packed with screenshots to aid your understanding of the process.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eWho this book is for\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eThis book is aimed at beginners in Generics. It assumes some working knowledge of C# , but it isn't mandatory.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThe following would get the most use out of the book:\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003col\u003e\n\u003cli\u003eNewbie C# developers struggling with Generics. \u003c\/li\u003e\n\u003cli\u003eExperienced C++ and Java Programmers who are migrating to C# and looking for an alternative to other generic frameworks like STL and JCF would find this book handy.\u0026amp;nbsp; \u003c\/li\u003e\n\u003cli\u003eManagers who want to know what Generics is and how to put it to good use.\u003c\/li\u003e\n\u003cli\u003eArchitects will find the benchmarking extremely useful, because it's the first of its kind across a framework of several collections. \u003c\/li\u003e\n\u003c\/ol\u003e","brand":"Packt Publishing","offers":[{"title":"Default Title","offer_id":47140375986416,"sku":"9781849690799","price":29.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9781849690799_p0.jpg?v=1763752828","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9781849690799","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}