Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn C# in 7 days

You're reading from   Learn C# in 7 days Get up and running with C# 7 with async main, tuples, pattern matching, LINQ, regex, indexers, and more

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781787287044
Length 306 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Gaurav Aroraa Gaurav Aroraa
Author Profile Icon Gaurav Aroraa
Gaurav Aroraa
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Day 01 - Overview of the .NET Framework FREE CHAPTER 2. Day 02 - Getting Started with C# 3. Day 03 - What's New in C# 4. Day 04 - Discussing C# Class Members 5. Day 05 - Overview of Reflection and Collections 6. Day 06 - Deep Dive with Advanced Concepts 7. Day 07 - Understanding Object-Oriented Programming with C# 8. Day 08 - Test Your Skills – Build a Real-World Application

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...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image