Home / CSE MCQs / C#.Net MCQs :: Discussion

Discussion :: C#.Net MCQs

  1. Choose the correct statement among the following?
  2. A.
    A property can be a static member whereas an indexer is always an instance member
    B.
    A get accessor of a property corresponds to a method with no parameters whereas get accessor of an indexer corresponds to a method with the same formal parameters lists as the indexer
    C.
    It is an error for indexer to declare a local variable with the same name as indexer parameters
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option D

    Explanation :



Be The First To Comment