Learning C#

Learning C#: A Practical Approach - Volume 1  

C# is one of the most popular programming languages used worldwide to create robust Windows applications, interactive websites, games and mobile apps. This first volume, in a series of three, will guide you through the fundamentals of this exciting and powerful language. Topics you will focus on include:

  • A survey of the .NET Framework
  • An in-depth look at Visual Studio 2015
  • Understanding and creating console applications
  • Debugging techniques
  • C# data types and variables
  • Mathematical operations
  • Arrays and Lists
  • Working with character data
  • Decision-making operations and Boolean logic
  • Repetition structures
  • Creating and calling methods
  • Structured exception handling
  • Enumerations
  • An introduction to object-oriented programming including creating structs and classes
This book will prepare you for the more advanced topics in the other volumes in this series, such as: inheritance, polymorphism, generics, reflection, functional programming and parallel processing.


Errata:


  • Page 73 (above Figure 4-4): Extraneous "it".
  • Page 105: The final example on the page should read: Nullable<T> nullVar = new Nullable<T>(initialValue);
  • Page 199: The second to last paragraph should refer to Chapter 6


Downloads:

Samples.zip

Learning C#: A Practical Approach - Volume 2  

The second volume of the Learning C# book series focuses on the object-oriented programming features of C#. Some of the techniques you will learn:

  • Interface design and implementation
  • Class inheritance
  • Utilizing abstract and virtual members
  • Overriding base class members
  • Operator overloading
  • Custom formatting
  • Creational design patterns
  • Working with class libraries and assemblies
  • I/O and serialization
  • Software reliability using testing and code contracts

Errata:



Downloads:

Samples2.zip