Object Oriented Programming

Object Oriented programming concepts is the fundamental of .Net Application. Any Object Oriented approach has two perennial things Objects and Classes.

Understanding Objects: For instance let us consider the real world objects such as a Bus, House, Balloon, Laptop and a Clip. Like this there are plenty of Objects that we use in our day-to-day life. But, How do we remember those Objects?
We can remember Objects by their name and its relevant properties. That is, Objects are remembered by its Characteristics, Properties, Attributes, Methods or Functions.
For example, Let us consider the Characteristics of Bus. Color and wheel are the Characteristics of Bus and Start ( ) and Run ( ) are the Methods or Functions of the Bus.

Objects are things, Substances, Materials or Something that we use in our daily life. Objects possess Properties or Attributes. For instance, let us consider the balloon. The various different properties of Balloon are color, Height and Diameter. Object also possesses methods or functions. Deflate( ), Inflate( ), MakeNoise( ) are the methods or functions of Balloon. Objects also possess events, alerts or triggers. Here in this object balloon, A balloon puncture event may be invoked when an action Deflate( ) is done on the balloon. Now, Let us relate these real world objects with Application. So in the application Form, TextBox and Buttons are some of the Objects in the application. For instance, Let us consider Textbox. In which Back Color, Text and Name are some of the frequently used properties of TextBox.

Clear( ) and Focus( ) are the methods of TextBox and Text Changed, KeyPress are some of the events of TextBox.


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: