Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7193529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:11:19+00:00 2026-05-28T20:11:19+00:00

My target language is C# with .net framework . I want to know what

  • 0

My target language is C# with .net framework . I want to know what is the point or the reason behind this topic ?

any advice and suggestions would be highly Appreciated .

EDIT

why i asked this question ?
because right now , some useful members of The Array class like index of is buring
behind a cast !!! I am wondering would it be better if microsoft split the ilist interface?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:11:20+00:00Added an answer on May 28, 2026 at 8:11 pm

    It’s worth noting to start with that you don’t have to implement an entire interface implicitly or explicitly – it’s a member-by-member decision… and I there are different reasons for different members. I’m only guessing (very few people can give a definitive answer here) but:

    • Count: I suspect that the Length property has special support when you’re dealing with a specific array type (I haven’t checked the IL) and is more efficient; it’s cleaner not to present both to developers
    • IsFixedSize: If you know you’re dealing with an array, you know the size is fixed
    • IsReadOnly: If you know you’re dealing with an array, you know it’s mutable
    • IsSynchronized: If you know you’re dealing with an array, you know it’s not synchronized
    • Item: The non-generic IList interface would expose the indexers which accept/return object; the specific type of array indexers are more type-safe (and again, probably supported more directly). The accessor methods in Array provide options for arrays with a rank != 1.
    • SyncRoot: There’s never a SyncRoot for an array
    • Add, Insert, Remove, RemoveAt, Clear: You can never change an array’s size, so none of these are appropriate

    In other words, if you already have the compile-time information that this is an array, you already either know the answer or definitely can’t use these operations – or have a better way of doing it.

    The ones which could be reasonable:

    • Contains, CopyTo, IndexOf: These could all be exposed via implicit interface implementation. I don’t know why they’re not

    GetEnumerator (from IEnumerable) is already exposed via implicit interface implementation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is somehow subjective depending on the target translation language, but bear with me
I'm starting to read in-depth on the .NET framework, and its Common Language Runtime.
The target language is C/C++ and the program has only to work on Linux,
setTimeout(target.mousedown, 200) doesn't seem to work. I can do setTimeout(target.mousedown(), 200) , but this
If I target the x86 platform for my .NET app, will it run properly
I want to write a MyGeneration Template File in F#. I know you can
I have my target language in Session[lang], which is either en or it. I
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2341,9): error MSB3171: Problem generating manifest. Could not load file or assembly '...CppCli.dll.manifest' or
This way lies madness, I know. I have an executable (the source code to
I have an asp.net mvc application where i want the user to be able

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.