---
title: "object oriented programming(oop's)"  
description: "object oriented programming(oop's)"  
author: "Anonymous User"  
published: 2011-02-01  
updated: 2011-02-01  
canonical: https://www.mindstick.com/forum/162/object-oriented-programming-oop-s  
category: "oops"  
tags: ["oops"]  
reading_time: 1 minute  

---

# object oriented programming(oop's)

hi,\
i am new so i can not understand the [concept](https://www.mindstick.com/blog/79/routing-concept-in-dot-net) of [abstract](https://www.mindstick.com/forum/156718/when-to-use-abstract-classes-in-c-sharp), [method](https://www.mindstick.com/forum/166/webservice-method), [inheritance](https://www.mindstick.com/articles/13095/inheritance-and-its-types), [construction](https://www.mindstick.com/articles/167589/the-reasons-why-we-love-construction-jobs-salary) and object. so give one example i can understand the whole concept in one program.\
thanx in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)![object oriented programming(oop's)](https://www.mindstick.com/app_images/htmleditor.icons/msp_cursing.gif)\

## Replies

### Reply by Amit Singh

hi mahesh \
this is the simple program, in which i used all concept, so you can easily understand it\
**for example**\

```
namespace ConsoleApplication3{    // Abstract class       public abstract class MyClass    {        //define abstract method        public abstract void DoWork();    }       // Inheritance (inherited the abstract class)    class Program : MyClass    {         // Constructor          public Program()        {       }               // Method          public override void DoWork()        {            Console.WriteLine("firstprogram");            Console.ReadLine();        }        //Entry point        static void Main(string[] args)        {            //object            Program object1 = newProgram();           object1.DoWork();        }    }}
```


---

Original Source: https://www.mindstick.com/forum/162/object-oriented-programming-oop-s

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
