none
valuetype vs reference type RRS feed

  • Question

  • Hi All these years I thought I knew to answer this question until today I read answer on stack overflow. I got totally confused.

    So what is meaning of Value types are "implicitly" derived from System.ValueType?and System.ValueType inherits from System.Object!!?   what??   

    Please help me to answer the question in my next job interview in 5 minutes

    Saturday, November 2, 2019 9:59 PM

Answers

  • Hi kobosh3,

    Thank you for posting here.

    According to your question, you can refer to the following references.

    1. System.ValueType and System.Object
    2. System.ValueType Understanding

    Hope them could be helpful.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by kobosh3 Monday, November 4, 2019 3:55 PM
    Monday, November 4, 2019 9:25 AM
    Moderator

All replies