The Modern C# Challenge: Become an expert C# programmer by solving interesting programming problems

Learn advanced C# concepts and techniques such as recursion, building caches, simulation, cryptography, and parallel programming by solving interesting programming challengesKey FeaturesGain useful insights into advanced C# programming topicsUse locking to solve parallel problems and use cached values to make programs run fasterTake advantage of .NET’s cryptographic tools to encrypt and decrypt strings and filesBook DescriptionC# is a multi-paradigm programming language. The challenges in The Modern C# Challenge help you investigate noteworthy aspects of the .NET framework such as the Task Parallel Library (TPL) and Crypto API. These challenges also encourage you to explore important programming trade-offs such as time versus space or simplicity. There may be many ways to solve a problem and there is often no single right way, but some solutions are definitely better than others.In addition to describing programming trade-offs, the C# challenger helps you build a useful toolkit of techniques such as value caching, statistical analysis, geometric algorithms, randomization, file manipulation, simulation, and cryptography.By the end of this book, you will have worked through challenges and learned new techniques and methods that you can use to attack your own programming hurdles.What you will learnPerform statistical calculations such as finding the truncated meanFind combinations and permutationsExplore directory-sized files matching a pattern and containing text using LINQ and PLINQPerform geometric operations such as finding polygon area and triangulating polygonsMake random selections and randomize arrays and lists with extension methodsExplore the filesystem to find duplicate files or to make replacements en masseSimulate complex systems and implement equality in a classUse cryptographic techniques to encrypt and decrypt strings and filesWho This Book Is ForThe Modern C# Challenge is for all C# developers of different abilities wanting to solve real-world problems with C#.About the AuthorRod Stephens started out as a mathematician, but during grad school at MIT he discovered the joys of software algorithms and never looked back. Over the years, he has written more than 30 books, hundreds of magazine articles, and thousands of blog posts covering a wide assortment of topics including algorithms, database design, two- and three-dimensional computer graphics, software engineering, and interview puzzles. His popular C# Helper and VB Helper websites provide thousands of tips, tricks, and example programs for C# and Visual basic developers

Author: Rod Stephens

Learn more