Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Why are arrays in C# evil? I know that in C/C++ they are evil, cause an array and a pointer are the same Commented Aug 13, 2009 at 22:17
  • 2
    have you seen this? stackoverflow.com/questions/434761/… Commented Aug 13, 2009 at 22:17
  • 2
    I hate the term "X programming construct is evil", it used far too often. Arrays are not preferred because they can be error prone to work with and they provide less abstraction between you and the implementation. Honestly, in C# many of the problems inherent in C++ arrays disappear, but a IList<T> ( or some other collection) is a nicer, higher level interface. Commented Aug 13, 2009 at 22:19