How come the Use of Properties in C# is against OOP Fundamentals

Hey

Why is the Indiscriminate use of C# Properties contrary to fundamental design principals of OOP

cheers



Answer this question

How come the Use of Properties in C# is against OOP Fundamentals

  • fireGeek

    QUT lecturer wrote:

    I hope you have no intention on using these answers in your answer to the reflective questions.

    LMAO, if only those lecturers teaching I.T. didn't know about that thingy I like to call the "interweb". Nice try though. Is a pickle of a question.


  • microdirectx

    I hope you have no intention on using these answers in your answer to the reflective questions.


  • Azeem Fraz

    If many properties of an object are being intensively manipulated outside of the object, then that's an indication that perhaps the object should be doing that work itself.

    This doesn't mean that properties are contrary to OOP principals, but some authors have even tried to make this case.

    David Anton
    www.tangiblesoftwaresolutions.com
    Instant C#: VB to C# converter
    Instant VB: C# to VB converter
    Instant C++: C# to C++ converter and VB to C++ converter
    Instant J#: VB to J# converter
    Clear VB: Cleans up VB.NET code
    Clear C#: Cleans up C# code



  • Mar G

    It’s not

    Bruce Johnson [C# MVP]
    http://www.objectsharp.com/blogs/bruce


  • Wilton Kwok

    It's an odd question.

    "Why is the Indiscriminate use of C# Properties contrary to fundamental design principals of OOP "

    This question could be used to address almost any topic:

    "Why is the Indiscriminate use of C# Inheritance contrary to fundamental design principals of OOP "

    "Why is the Indiscriminate use of concrete contrary to fundamental design principals of building architecture "

    The anwer is: Because it's indiscriminate.


  • Brian Travis

    What texts are you reading that state that

  • dh

    yes, i am also get stuck on this question
  • How come the Use of Properties in C# is against OOP Fundamentals