4 options
.NET 4.0 Generics : beginner's guide : enhance the type safety of your code and create applications easily using Generics in the .NET 4.0 Framework / Sudipta Mukherjee.
- Format:
- Book
- Author/Creator:
- Mukherjee, Sudipta.
- Series:
- Learn by Doing: Less Theory, More Results
- Language:
- English
- Subjects (All):
- Microsoft .NET Framework.
- Generic programming (Computer science).
- Physical Description:
- 1 online resource (396 p.)
- Edition:
- 1st edition
- Place of Publication:
- Birmingham, U.K. : Packt Pub., 2012.
- Language Note:
- English
- System Details:
- Mode of access: World Wide Web.
- text file
- Biography/History:
- Mukherjee Sudipta: Sudipta Mukherjee was born in Kolkata and migrated to Bangalore. He is an electronics engineer by education and a computer engineer/scientist by profession and passion. He graduated in 2004 with a degree in electronics and communication engineering. He has a keen interest in data structure, algorithms, text processing, natural language processing tools development, programming languages, and machine learning at large. His first book on Data Structure using C has been received quite well. Parts of the book can be read on Google Books. The book was also translated into simplified Chinese, available from Amazon. cn. This is Sudipta's second book with Packt Publishing. His first book, .NET 4. 0 Generics, was also received very well. During the last few years, he has been hooked to the functional programming style. His book on functional programming, Thinking in LINQ, was released in 2014. He lives in Bangalore with his wife and son. Sudipta can be reached via e-mail at sudipto80@yahoo. com and via Twitter at @samthecoder.
- Summary:
- This 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. This book is aimed at beginners in Generics. It assumes some working knowledge of C# , but it isn't mandatory. The following would get the most use out of the book: Newbie C# developers struggling with Generics. Experienced 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.
- Contents:
- Copyright; Credits; Foreword; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Why Generics?; An analogy; Reason 1: Generics can save you a lot of typing; Reason 2: Generics can save you type safety woes, big time; What's the problem with this approach?; Reason 3: Generics leads to faster code; Reason 4: Generics is now ubiquitous in the .NET ecosystem; Setting up the environment; Summary; Chapter 2: Lists; Why bother learning about generic lists?; Types of generic lists; Checking whether a sequence is a palindrome or not
- Time for action - creating the generic stack as the bufferTime for action - completing the rest of the method; Designing a generic anagram finder; Time for action - creating the method; Life is full of priorities, let's bring some order there; Time for action - creating the data structure for the prioritized shopping list; Time for action - let's add some gadgets to the list and see them; Time for action - let's strike off the gadgets with top-most priority after we have bought them; Time for action - let's create an appointment list; Live sorting and statistics for online bidding
- Time for action - let's create a custom class for live sortingWhy did we have three LinkedList as part of the data structure?; An attempt to answer questions asked by your boss; Time for action - associating products with live sorted bid amounts; Time for action - finding common values across different bidding amount lists; You will win every scrabble game from now on; Time for action - creating the method to find the character histogram of a word; Time for action - checking whether a word can be formed; Time for action - let's see whether it works
- Trying to fix an appointment with a doctor?Time for action - creating a set of dates of the doctors' availability; Time for action - finding out when both doctors shall be present; Revisiting the anagram problem; Time for action - re-creating the anagram finder; Lists under the hood; Summary; Chapter 3: Dictionaries; Types of generic associative structures; Creating a tag cloud generator using dictionary; Time for action - creating the word histogram; Creating a bubble wrap popper game; Time for action - creating the game console; Look how easy it was!
- How did we decide we need a dictionary and not a list?Let's build a generic autocomplete service; Time for action - creating a custom dictionary for autocomplete; Time for action - creating a class for autocomplete; The most common pitfall. Don't fall there!; Let's play some piano; Time for action - creating the keys of the piano; How are we recording the key strokes?; Time for action - switching on recording and playing recorded keystrokes; How it works?; C# Dictionaries can help detect cancer. Let's see how!; Time for action - creating the KNN API
- Time for action - getting the patient records
- Notes:
- "Learn by doing : less theory more results"--Cover.
- Includes index.
- Includes bibliographical references and index.
- ISBN:
- 9786613453532
- 9781283453530
- 1283453533
- 9781849690799
- 1849690790
- OCLC:
- 775679003
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.