Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
VB.NET Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
C#
C# General Discussion
Array as function parameter, on stack or on heap?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="jmcilhinney, post: 4719, member: 3"] All arrays are reference types. References exist so that you have something that gets treated like it's an object from the outside and like it's a pointer on the inside. It's much like properties are actually methods but they appear to be a field from the outside; references are actually pointers but appear to be objects from the outside. It's not quite that simple but it may help to think of it like that. The only question you have to ask is whether something is a reference type, i.e. class or delegate, or a value type, i.e. structure or enumeration. There is no in between; it's either one or the other and that tells you how it gets used. [/QUOTE]
Insert quotes…
Verification
Post reply
C#
C# General Discussion
Array as function parameter, on stack or on heap?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom