The Modern C# Challenge: Become an expert C# programmer by solving interesting programming problems (現代 C# 挑戰:透過解決有趣的程式問題成為 C# 專家)

Rod Stephens

  • 出版商: Packt Publishing
  • 出版日期: 2018-10-30
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 362
  • 裝訂: Paperback
  • ISBN: 1789535425
  • ISBN-13: 9781789535426
  • 相關分類: C#
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn advanced C# concepts and techniques such as building caches, cryptography, and parallel programming by solving interesting programming challenges

Key Features

  • Gain useful insights on advanced C# programming topics and APIs
  • Use locking and cached values to solve parallel problems
  • Take advantage of .NET's cryptographic tools to encrypt and decrypt strings

Book Description

C# is a multi-paradigm programming language. The Modern C# Challenge covers with aspects of the .NET Framework such as the Task Parallel Library (TPL) and CryptoAPI. It also encourages 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. This book has combined these solutions to help you solve real-world problems with C#.

In addition to describing programming trade-offs, The Modern C# Challenge will help you build a useful toolkit of techniques such as value caching, statistical analysis, and geometric algorithms.

By the end of this book, you will have walked through challenges in C# and explored the .NET Framework in order to develop program logic for real-world applications.

What you will learn

  • Perform statistical calculations such as finding the standard deviation
  • Find combinations and permutations
  • Search directories for files matching patterns using LINQ and PLINQ
  • Find areas of polygons using geometric operations
  • Randomize arrays and lists with extension methods
  • Explore the filesystem to find duplicate files
  • Simulate complex systems and implement equality in a class
  • Use cryptographic techniques to encrypt and decrypt strings and files

Who this book is for

The Modern C# Challenge is for all C# developers of different abilities wanting to solve real-world problems. There are problems for everyone at any level of expertise in C#

Table of Contents

  1. Mathematics
  2. Geometry
  3. Dates and Times
  4. Randomization
  5. Strings
  6. Files and Directories
  7. Advanced C# and .NET Features
  8. Simulations
  9. Cryptography

商品描述(中文翻譯)

學習進階的 C# 概念和技術,例如建立快取、密碼學和平行程式設計,透過解決有趣的程式挑戰。

主要特色
- 獲得有關進階 C# 程式設計主題和 API 的有用見解
- 使用鎖定和快取值來解決平行問題
- 利用 .NET 的密碼學工具來加密和解密字串

書籍描述
C# 是一種多範式的程式語言。《現代 C# 挑戰》涵蓋了 .NET 框架的各個方面,例如任務平行庫 (Task Parallel Library, TPL) 和 CryptoAPI。它還鼓勵您探索重要的程式設計取捨,例如時間與空間或簡單性之間的平衡。解決問題的方法可能有很多種,通常沒有單一的正確解法,但某些解決方案無疑比其他方案更好。本書結合了這些解決方案,幫助您用 C# 解決現實世界中的問題。

除了描述程式設計取捨外,《現代 C# 挑戰》還將幫助您建立一套有用的技術工具包,例如值快取、統計分析和幾何演算法。

在本書結束時,您將通過 C# 的挑戰,探索 .NET 框架,以開發現實世界應用程式的程式邏輯。

您將學到的內容
- 執行統計計算,例如計算標準差
- 找出組合和排列
- 使用 LINQ 和 PLINQ 搜尋符合模式的檔案目錄
- 使用幾何運算找出多邊形的面積
- 使用擴展方法隨機化陣列和列表
- 探索檔案系統以尋找重複檔案
- 模擬複雜系統並在類別中實現相等性
- 使用密碼學技術來加密和解密字串及檔案

本書適合對象
《現代 C# 挑戰》適合所有不同能力的 C# 開發者,想要解決現實世界中的問題。無論您在 C# 的專業程度如何,這裡都有適合您的問題。

目錄
1. 數學
2. 幾何
3. 日期和時間
4. 隨機化
5. 字串
6. 檔案和目錄
7. 進階 C# 和 .NET 特性
8. 模擬
9. 密碼學