Sunday, February 2, 2014

What is abstraction in C# ?

Abstraction is thinking about something a certain way.



I can look at a tree and think about shade, abstracting out only the parts of a tree that provide shade.

A child can look at a tree and think about a climbing structure, abstracting out only the those parts that make climbing fun.



So take Customer.



If I am building an Invoicing system, I abstract out only the features of a customer that affect invoicing, such as customer name, address, preferred sending method, and so on.



If I am building a car sales system, I abstract out only the features of a customer that affect car sales, such as customer name, phone, credit rating, and so on.


www.insteptech.com ; http://ift.tt/1nDcucN

We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!

No comments:

Post a Comment