Book Image

Learn C# in 7 days

By : Gaurav Aroraa
1 (1)
Book Image

Learn C# in 7 days

1 (1)
By: Gaurav Aroraa

Overview of this book

This book takes a unique approach to teach C# to absolute beginners. You’ll learn the basics of the language in seven days. It takes a practical approach to explain the important concepts that build the foundation of the C# programming language. The book begins by teaching you the basic fundamentals using real-world practical examples and gets you acquainted with C# programming. We cover some important features and nuances of the language in a hands-on way, helping you grasp the concepts in a fluid manner. Later, you’ll explore the concepts of Object-Oriented Programming (OOP) through a real-world example. Then we dive into advanced-level concepts such as generics and collections, and you’ll get acquainted with objects and LINQ. Towards the end, you’ll build an application that covers all the concepts explained in the book. By the end of this book, you will have next-level skills and a good knowledge of the fundamentals of C#.
Table of Contents (15 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Chapter 6. Day 06 - Deep Dive with Advanced Concepts

Today is day six of our seven-day learning series. On day five, we discussed important concepts of the C# language and went through reflection, collections, delegates, and events. We explored these concepts using a code snippet, where we discussed non-generic collections. Today, we will discuss the main power of collections using generic types, and then, we will cover preprocessor directives and attributes.

We will cover the following topics in this chapter:

  • Playing with collections and generics
  • Beautifying code using attributes
  • Leveraging Preprocessor Directives
  • Getting started with LINQ
  • Writing unsafe code
  • Writing asynchronous code
  • Revisiting Day 6
  • Hands-on exercise