Have a personal or library account? Click to login
C# Programming Cookbook Cover

C# Programming Cookbook

Quick fixes to your common C# programming problems, with a focus on C# 6.0

Paid access
|Sep 2025
Product purchase options

Quick fixes to your common C# programming problems, with a focus on C# 6.0

Key Features

  • Unique recipes for C#, that places it in its real-world context.
  • You will be able to get yourself out of any coding-corner youve backed yourself into.
  • All code samples available through GitHub to bring C#.
  • In line with modern development workflows, written to the latest specification of C# 6.0.

Book Description

During your application development workflow, there is always a moment when you need to get out of a tight spot. Through a recipe-based approach, this book will help you overcome common programming problems and get your applications ready to face the modern world.

We start with C# 6, giving you hands-on experience with the new language features. Next, we work through the tasks that you perform on a daily basis such as working with strings, generics, and lots more. Gradually, we move on to more advanced topics such as the concept of object-oriented programming, asynchronous programming, reactive extensions, and code contracts.

You will learn responsive high performance programming in C# and how to create applications with Azure. Next, we will review the choices available when choosing a source control solution. At the end of the book, we will show you how to create secure and robust code, and will help you ramp up your skills when using the new version of C# 6 and Visual Studio

What you will learn

  • Write better and less code to achieve the same result as in previous versions of C#.
  • Generate tests from the Code Contracts for mission critical methods.
  • Integrate code in Visual Studio with GitHub.
  • Create a web application in Azure.
  • Design and build a microservice architecture
  • Demystify the Rx library using Reactive extensions
  • Write high performing codes in C# and understanding multi-threading.
  • Security and Debugging.
  • Implement Code Contracts on code in Visual Studio.

Who this book is for

The book is aimed at developers who have basic familiarity with C# programming and will know the VS 2015 environment.

Table of Contents

  1. Getting to Grips with new features in C# 6
  2. Classes and Generics
  3. Object Oriented Programming in C#
  4. Improving Responsiveness with Reactive Extensions
  5. Microservices in C#
  6. Making Apps Responsive with Asynchronous Programming
  7. High Performance Programming using Parallel and multithreading in C#
  8. Code Contracts
  9. Regular Expressions
  10. Choosing and Using a Source Control Strategy
  11. Create an Android Application in Visual Studio
  12. Writing Secure Code and Debugging in Visual Studio
  13. Create a Web Application in Azure
https://github.com/packtpublishing/c-programming-cookbook
PDF ISBN: 978-1-78646-396-8
Publisher: Packt Publishing Limited
Copyright owner: © 2016 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 476