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

Hands on Exercise


Here are the unsolved questions from today's study:

  1. What is OOP?
  2. Why we should use OOP language over procedural language?
  3. Define inheritance?
  4. How many type of inheritance is available in general?
  5. Why we can't implement multiple inheritance in C#?
  6. How we can achieve multiple inheritance in C#.
  7. Define inherited member visibility with the help of a short program.
  8. Define hiding and elaborate with the help of a short program.
  9. What is overriding?
  1. When to use hiding and when to use overriding, elaborate with the help of a short program (hint: refer to - https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/knowing-when-to-use-override-and-new-keywords)
  2. What is implicit inheritance?
  3. What is the difference between abstract class and interface?
  4. What is encapsulation, elaborate it with the help of a short program.
  5. Define access modifiers or access specifiers that are helpful in encapsulation.
  6. What is abstraction? Elaborate it with a real-world example.
  7. What is the difference...