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 7. Day 07 - Understanding Object-Oriented Programming with C#

Today we are on day seven of our seven-day learning series. Yesterday (day six), we went through a few advanced topics and we discussed attributes, generics, and LINQ. Today, we will start learning object-oriented programming (OOP) using C#.

This will be a practical approach to OOP, while covering all the aspects. You will benefit even without having any basic knowledge of OOP and move on to confidently practicing this easily in the workplace.

We will be covering these topics:

  • Introduction to OOP
  • Discussing object relationships
  • Encapsulation
  • Abstraction
  • Inheritance
  • Polymorphism