Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8247055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:42:49+00:00 2026-06-07T22:42:49+00:00

This might sound like a silly question, because if you Google OOPS or OOPS

  • 0

This might sound like a silly question, because if you Google "OOPS" or "OOPS in C#" you get tons of results. But.
I am aware of concepts of OOP like abstraction, inheritance and what not… But what I want to see is some “practical usable example” of it in programming. Like for polymorphism you know a practical example is Object.GetType etc.

Some times if not many, I find myself doing something like at a button click open a connection and do some stuff, this is not OOP oriented from what I know, I should have a particular entity/class, and it should have a method for the stuff I am doing at button click, and then I should call that method, instead of doing all the stuff at button click.

Another example is that I just found myself loading all the projects that a employee works on, at the txtEmployeeName.Leave event and then fill the combo for the projects. This is not OOP oriented either, I should have class Employee, and a method in that which loads all the projects this employee works on, and then I should call that method at txtEmployeeName.Leave.

When I find or read somewhere (online or whatever) I see things like, Vehicle is a abstract class, and Car is a Vehicle, so it inhered from Vehicle, and this is Inheritance. We all understand that, but that’s not a practical thing. Another example I found, that if we have a method MakeSound, and we call it an object Cat, it will Purr, but if we call the same method on Dog, it will Bark, this is Polymorphism.

Its good for understanding, but its not “practical” or you should rather say “real programming example“. So what I need to know is that are there any good resources (online, books or whatever) where I can read about OOP but not like in exaples I gave in previous paragraph, but some “real world programming example” that would actually have me make my code more OO?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:42:51+00:00Added an answer on June 7, 2026 at 10:42 pm

    here are some

    OOP best practice: Employee.GetCars() vs Cars.GetByEmployee()

    Best practice and proper class design in object oriented language(C#)
    http://www.codeproject.com/Questions/232598/Best-practice-and-proper-class-design-in-object-or

    Beginning C# Object-Oriented Programming
    http://www.apress.com/9781430235309/

    Design Guidelines for Developing Class Libraries
    http://msdn.microsoft.com/en-us/library/ms229042.aspx

    Design Pattern Tutorial
    http://www.dofactory.com/Patterns/Patterns.aspx/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This might sound like a silly question but is there a manual or a
HI, this might sound like a silly question but.. i've created several types in
This might sound like a silly question, but yesterday none of our sites would
This might sound like a silly question but how would I make this code
Ok, this might sound like a silly question, but I'm having all sorts of
This might sound like a silly question, but when I search for webservices, I
This might sound like a stupid question, but google didn't help me. Is there
This might sound like a silly question to many of you, but it keeps
This might sound like a silly question, but I need to know how to
This might sound like a bit of a silly question but I been looking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.